~/talk

Implementing the Paging Library

Talkat droidcon NYC 2019 · 2019-08-26..08-27· [android, databases]
slides:none on file

Explains how the Android Paging Library composes PagedList with ListAdapter/DiffUtil and a DataSourceFactory to load snapshots lazily, using LiveData (or Rx/Flow) and Room as a single source of truth. Describes three DataSource types (positional, item-key, page-key), config knobs like page size, prefetch distance and placeholders, and the BoundaryCallback that triggers network fetches to populate the DB. Includes a working GitHub search sample app that demonstrates end‑to‑end paging.

AI-written summary · about

  1. 0:00Introduction to Paging Library
  2. 4:55History of List Implementations
  3. 12:37Introduction to Jetpack
  4. 13:59Paging Library Components
  5. 16:48Live Data Integration
  6. 18:54Configuring Page Lists
  7. 24:11Room Integration
  8. 25:36Data Source Types
  9. 33:14Boundary Callbacks
  10. 34:41Further Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.