~/talk

Migrating to Paging library

Talkat droidcon Italy 2019 · 2019-04-04..04-05· [android]
slides:none on file

Migration shows concrete changes: replace RecyclerView.Adapter with RecyclerView.Adapter → Paging library migration and switch to immutable lists and a PageListAdapter, pick one of three DataSource implementations (positional itemKey pageKey DataSource types), tune config (example uses pageSize 30 default loadSizeHint = pageSize×3), and handle network+DB with a BoundaryCallback that requests pages and saves into Room (BoundaryCallback triggers network loads and writes Room). Evidence includes adapter behavior, null-item placeholders, and data-source invalidation/recreation.

AI-written summary · about

  1. 0:00Start
  2. 7:08Updates - the truth
  3. 15:36Placeholders
  4. 17:20RxPagedListBuilder
  5. 17:45Under the hood
  6. 20:46Data Sources
  7. 28:47Database + Network
  8. 29:52Data switching
  9. 30:46Data layering
  10. 33:22Paging Library
~/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.