~/talk

Android Achritecture Components Introduction

Talkat droidcon Berlin 2018 · 2018-06-25..06-27· [android]
links:none on file
slides:none on file

Google's Architecture Components are presented through concrete examples: Room: entity, DAO, database creates an SQLite abstraction with annotation-based SQL, compile-time validation, LiveData/RxJava compatibility and easy tests via an in-memory database builder. Lifecycle components let objects register as observers and receive annotated callbacks on start/stop. ViewModel survives rotation by holding UI data outside the activity lifecycle via ViewModelProviders. LiveData is lifecycle-aware observable (mutable vs exposed immutable), integrates with data binding and lets Room return live query results with thread handling.

AI-written summary · about

  1. 0:00Introduction to speaker
  2. 1:07What are Architecture Components
  3. 2:08Room database library
  4. 6:40Lifecycle aware components
  5. 9:27ViewModel explained
  6. 12:39LiveData and data binding
  7. 17:43Simple architecture example
  8. 20:12Summary and 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.