Skip to content

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

Merged
samtstern merged 1 commit intofirebase:version-6.0.3-devfrom
PatilShreyas:sp-updateoptions-1677
Oct 9, 2019
Merged

Method to update options at runtime [Paging Adapters]#1692
samtstern merged 1 commit intofirebase:version-6.0.3-devfrom
PatilShreyas:sp-updateoptions-1677

Conversation

@PatilShreyas
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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