FbLitho framework repeats views from the old section i.e Groupsection in RecyclerCollectionComponent even when a new section is loaded.
Asked
Active
Viewed 42 times
2 Answers
0
This might happen due to caching in fblitho [not sure] but it can be resolved by releasing the parent litho view on which you are calling setComponent.
just call parentView.release()

Pravin Desai
- 527
- 5
- 18
0
This definitely isn't expected behavior - if you can reproduce this outside of your personal app environment I'd recommend to submit a GitHub issue. Something to try is putting
@ShouldUpdate
protected static boolean shouldUpdate() {
return true;
}
on the Section in question. It shouldn't be required so it's not exactly the right fix, but may also be an option to unblock.

Foxichu
- 952
- 10
- 22