Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to update options at runtime [Paging Adapters] #1692

Merged

Conversation

PatilShreyas
Copy link
Contributor

@PatilShreyas PatilShreyas commented Oct 9, 2019

I have added option to change options at runtime in FirestorePagingAdapter class.
All LiveData<> objects should be re-initialised after changing options. So, I have removed their final modifier and also added new init() method which initializes LiveData<> objects from constructor and from updateOptions method.

Closes: #1677

@samtstern
Copy link
Contributor

@PatilShreyas LGTM thank you!

@samtstern samtstern merged commit 2e9fe25 into firebase:version-6.0.3-dev Oct 9, 2019
@samtstern samtstern added this to the 6.0.3 milestone Oct 9, 2019
@PatilShreyas
Copy link
Contributor Author

@samtstern Anytime!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants