~/talk

Android Components under the hood

Talkat 360|AnDev 2020 · on Friday, 2020-07-24· [android]
slides:none on file

Explains how Lifecycle, LiveData, ViewModel and Room are implemented rather than just named. Notes 700 ms delay in ProcessLifecycleOwner to avoid false background events. Shows LiveData increments a version on setValue, requires main thread, while postValue posts to the main thread and costs a thread hop and getValue can be null. Describes ViewModelStore coming from getLastNonConfigurationInstance and Room generating DAOs as _Impl classes that bind entities to SQLite using cursors and adapters, with deletes matching only the primary key.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Lifecycle
  3. 6:45Live Data
  4. 10:17ViewModel
  5. 10:50Configuration Changes
  6. 17:34Room
  7. 23:25Database
  8. 24:18Conclusion
~/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.