~/talk

Data Persistence In Android: There’s Room For Improvement

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [databases]
slides:none on file

Room generates DAO implementations, enforces compile-time query checks, and runs inserts/updates synchronously so calling them on the main thread throws an exception; observable queries return LiveData on the main thread by default. Migrations are plain Migration classes added to the Room builder, otherwise Room wipes user data, and schemas get validated against a room_master_table identity hash. Tests use in-memory databases plus InstantTaskExecutorRule for LiveData and MigrationTestHelper with JSON schema dumps to validate migrations and preserved data.

AI-written summary · about

  1. 0:00Introduction
  2. 1:36Components
  3. 5:38Threads
  4. 12:28Migrations
  5. 16:43Migration Test
~/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.