Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

ViewState & Lists #79

Open
johsoe opened this issue May 7, 2020 · 0 comments
Open

ViewState & Lists #79

johsoe opened this issue May 7, 2020 · 0 comments

Comments

@johsoe
Copy link
Contributor

johsoe commented May 7, 2020

Having lists entangled in ViewState introduces some weird issues where touching unrelated parts of the ViewState will trigger a change in the list's adapter, which we want to avoid.

We came up with these 4 possible solutions:

a) Distinct
b) SingleEvent (not good)
c) DiffUtil / Epoxy
d) LiveData separate for list

We should discuss any positives or negatives and decide on the official way of solving this. After that create an example in the template.

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

No branches or pull requests

1 participant