~/talk

Room: An SQLite Object Mapping Library

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

Room is an Android SQLite ORM (min SDK 14) that generates DAO implementations and removes boilerplate by using annotations like @Entity, @Dao, @Database. It enforces compile-time query verification, supports LiveData/RxJava observable queries, transactions, type converters for unsupported types, and relations via @Embedded with prefixes or @Relation/foreign keys. Migration uses Migration.onMigrate and addMigrations or fallbackToDestructiveMigration, schemas export to JSON, and Room records a Room master identity hash to detect schema changes; Room 1.1 allows concurrent reads and writes.

AI-written summary · about

  1. 0:00Introduction and challenges
  2. 3:10Why use Room ORM
  3. 5:22Setting up Room components
  4. 11:24Handling entity relationships
  5. 16:46Queries and transactions
  6. 20:55Database migrations
  7. 24:49Room advantages summary
  8. 25:14Q&A session
~/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.