Android Jetpack: Manage infinite lists with RecyclerView and Paging
summary
Introduces the Paging Library that turns a LiveData list into a lazy-loading PagedList backed by Room or network (Retrofit), shows adapters like PagedListAdapter, and demonstrates a complete DB+network flow using a boundary callback that inserts network pages into Room. Examples include avoiding creating 10,000 objects for an 8–10 item view, configuring page size = 30, placeholders vs no placeholders, and three DataSource types (Positional, ItemKeyed, PageKeyed); Paging 1.0 is released and works with Rx.
AI-written summary · about
chapters (21)
- 0:00Start
- 1:41Updates - the truth
- 2:25Convenience
- 2:35Multiple Layers
- 2:45Performance
- 2:55Lifecycle Aware
- 3:13Lists without paging
- 5:01Let's move to Paging
- 5:19Paged List
- 8:11Configuration
- 15:12Under the hood
- 15:45Data Sources
- 16:08PositionalDataSource
- 19:03Item KeyedDataSource
- 21:31PagedKeyedDataSource
- 25:12Data switching
- 26:04Data layering
- 26:53Database + Network
- 27:51NETWORK PAGE SIZE .execute()
- 29:05Paging Library
- 30:31Cursor's built-in paging








