~/talk

Jetpack DataStore - protocol buffers storage solution

Talkat Android Makers 2022 · 2022-04-25..04-26· [android, web-platform]
slides:none on file

Jetpack DataStore replaces SharedPreferences with an async, transactional storage that uses Kotlin coroutines & flows for nonblocking reads and writes. Two implementations exist: Preference DataStore for key/value pairs (edit is a suspend function) and Proto DataStore for typed objects using protocol buffers plus a generated serializer and schema for full type safety. A built-in SharedPreferences migration moves old data automatically; updateData performs atomic read‑modify‑write.

AI-written summary · about

  1. 0:00Intro
  2. 2:28Shared Preferences
  3. 8:50ProtoDataStore
  4. 13:43Migration
  5. 14:42Comparison
  6. 17:45Conclusion
~/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.