contentful / vault

Easy persistence of Contentful data for Android over SQLite.
https://contentful.github.io/vault/
Apache License 2.0
85 stars 19 forks source link

Add support of LiveData<> for async data querying #131

Closed kzotin closed 4 years ago

kzotin commented 6 years ago

Since Android Arch components are becoming mainstream, it would be nice to add OOTB LiveData<> support for queries.

Currently we're wrapping RxJava calls with: LiveDataReactiveStreams.fromPublisher(vault.observe(XYZ.class)...)

PS. It would be also nice to extract RxJava to separate extension - like Room arch component is doing.

mariobodemann commented 6 years ago

Hey @kzotin,

those are great ideas. I will put it on our agenda and see when we get to it ... :) Thanks for your suggestions :+1:

ashenriques commented 5 years ago

Is this still on the agenda/pipeline? Now more than ever LiveData is mainstream, and this would be really nice to have.

mariobodemann commented 5 years ago

Hey,

so far we haven't made any progress on this topic, and I am not foreseeing us implementing it soon™.

Like always: If you feel you can contribute, I am happy to review any PRs.