RxDataSources
RxDataSources copied to clipboard
AnimationConfiguration doesn't affect whole section animations
Given the following initialization of a RxCollectionViewSectionedAnimatedDataSource...
RxCollectionViewSectionedAnimatedDataSource<SomeSectionViewModel>(
animationConfiguration: AnimationConfiguration(insertAnimation: .bottom, reloadAnimation: .bottom, deleteAnimation: .bottom)
// etc.
)
The animation styles specific only affect rows in a section, but not the section as a whole. Instead, my section(s) always animate in/out with a .fade style.
In my case, my datasource is changing such that my collection view always has two sections, but the second section is switching back and forth between two different section models.
Is there a particular trick I'm missing for changing the animation style of entire sections within the RxCollectionViewSectionedAnimatedDataSource API?
Apologies if this is documented somewhere that I'm just missing.
I'm also interested in that question. Sitting on top of the same "problem"