pilgr / Paper

Paper is a fast NoSQL-like storage for Java/Kotlin objects on Android with automatic schema migration support.
Apache License 2.0
2.34k stars 234 forks source link

How to do Implementation with LiveData? #163

Closed zakayothuku closed 4 years ago

zakayothuku commented 4 years ago

Hi!

Awesome library. It is possible to integrate and receive stream with Architecture Components, specifically LiveData?

pilgr commented 4 years ago

We don't actually have streams iun Paper. Paper is very straightforward library were you can save and read each key separate. So I believe accessing the data should happen way below in your app architecture and shouldn't rely on LiveData.