RxDataSources icon indicating copy to clipboard operation
RxDataSources copied to clipboard

AnimationConfiguration doesn't affect whole section animations

Open giuggioRapido opened this issue 6 years ago • 1 comments

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.

giuggioRapido avatar Mar 08 '19 15:03 giuggioRapido

I'm also interested in that question. Sitting on top of the same "problem"

mszyszylo avatar Jan 23 '20 09:01 mszyszylo