~/talk

Avoid the mess! Clean up your data repository

Talkat droidcon Italy 2019 · 2019-04-04..04-05· [android, frontend-architecture]
name:A. Recchi
links:none on file
name:A. Fodde
links:none on file
slides:none on file

Team builds a JakeWhook app using Retrofit and Room, applies Clean Architecture with repositories and mappers, and reports the repository-as-Single Source of Truth pattern works for merging Twitter and GitHub feeds via parallel calls. Early code is messy: data models mix JSON and Room annotations, ViewModel does deletion logic, and database migrations bite. Paging integration forces workarounds—mapping in DataSource, boundary callbacks—and exposes limitations of the Paging library and Room approach.

AI-written summary · about

  1. 0:00Start
  2. 6:23The Clean Architecture
  3. 8:43Layers
  4. 10:16Project Structure
  5. 12:57Dependency Rule
  6. 14:37Inversion of Control
  7. 15:52Data Mappers
  8. 19:05Data Layer
  9. 20:59Single Source of Truth
  10. 21:49How do you keep up to date
  11. 22:56Showcase App
  12. 23:29Single Remote Data Source
  13. 27:06Double Remote Data Source
  14. 29:03Paged Data Source
  15. 32:45Paging with Room
  16. 35:53Get Connected
~/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.