~/talk

Managing Data Restoration with the Architecture Components

TalkinFrenchat Android Makers 2020 · 2020-04-20..04-21· [android, frontend-architecture]
links:none on file
slides:none on file

How Le Bon Coin uses AndroidX SavedState for ViewModel inside Architecture Components to make UI state survive process death, demonstrating a fragment that restores after the process is killed and contrasting volatile ViewModel state with disk persistence. Practical techniques covered include the saved-state module, testing process-death recovery with adb or activity kills, and generating ViewModel factories with assisted injection to reduce boilerplate, with the concrete limit of about 1 MB per saved-state Bundle.

AI-written summary · about

  1. 0:00Start
  2. 3:47Screen rotation
  3. 19:17Killing your app with ADB
  4. 20:21Playground time!
~/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.