You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your list is long enough, and you expand one item (the first item, for instance), and then you scroll it down, at some point another item will appear expanded too.
Note that I am not forcing the items to be either expanded or collapsed, because I want to preserve their states when I scroll.
Since the viewholder can be reused, it needs to know whether the cell should be expanded or collapsed.
Does anyone know how to solve this?
The text was updated successfully, but these errors were encountered:
If your list is long enough, and you expand one item (the first item, for instance), and then you scroll it down, at some point another item will appear expanded too.
Note that I am not forcing the items to be either expanded or collapsed, because I want to preserve their states when I scroll.
Since the
viewholder
can be reused, it needs to know whether the cell should be expanded or collapsed.Does anyone know how to solve this?
The text was updated successfully, but these errors were encountered: