~/talk

Android Architecture Components

Talkat Mobile Era 2018 · 2018-11-01..11-02· [android]
links:none on file
slides:none on file

Android Architecture Components arrive as a practical MVVM stack: ViewModel objects survive orientation changes and hold UI state, LiveData broadcasts cached values only to active lifecycle owners (so network results survive rotations but can reemit unwanted toasts), and Google supplies sample utilities like NetworkBoundResource (four-method pattern) and SingleLiveEvent to handle offline caching and one-off events. Components interoperate with RxJava and let teams migrate screen-by-screen without rearchitecting an entire app.

AI-written summary · about

  1. 0:00Introduction
  2. 1:45Android architecture in 2015
  3. 4:15Naive MVP approach
  4. 6:22Orientation change problem
  5. 8:57Loaders to solve lifecycle issues
  6. 11:51Google’s architecture components
  7. 13:19ViewModel and LiveData
  8. 16:13Why use architecture components
  9. 17:16Shared ViewModel for fragments
  10. 19:31Single Live Event tip
  11. 21:21Network bound resources
  12. 23:10LiveData in model layer
  13. 25:41LiveData vs RxJava
  14. 28:52Conclusion and benefits
~/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.