Guide
Task-oriented walkthroughs of the public API — start here if you want the full picture, not just the quick tour.
- Opening Documents — documents vs. collections, and why there's no setup step.
- Read & Write —
set,update, and single-fieldupdate, and when to reach for each. - Reactivity —
flow()andstateFlow(), including a Compose-ready snippet. - Field Delegates — binding a single field with
by, without touching the whole document. - Collections & Testing — separate MMKV files, the in-memory backend for tests, and the single-process constraint.
- Error Handling — what happens when a stored field can't be decoded.