Transitions-Everywhere icon indicating copy to clipboard operation
Transitions-Everywhere copied to clipboard

Collapse/expand animation

Open LeoDroidCoder opened this issue 5 years ago • 1 comments

Is there a way to animate expand/collapse of a RecyclerView item?
I tried to mix Scale, Fade, Slide, but cannot achieve a collapse/expand effect

LeoDroidCoder avatar Jun 06 '19 09:06 LeoDroidCoder

Hey. The main animation here is ChangeBounds as the size(height) of the item is changing. So you would need to apply TransitionManager.beginDelayedTransition() on the RecyclerView itself. If you would share more code maybe I will be able to provide more concrete suggestions

andkulikov avatar Jun 23 '19 18:06 andkulikov