adjpd
10/04/2021, 2:30 PMAnimatable
and AnimationState
. I see the view pager in accompanist is using AnimationState
and the docs say the advantage Animatable
has over AnimationState
is mutable exclusiveness of animation. Does anyone have any other insights?cb
10/04/2021, 5:07 PMadjpd
10/04/2021, 9:18 PMVishnu Haridas
10/05/2021, 7:00 PMDoris Liu
10/06/2021, 5:30 PMAnimatable
cancels any on-going animations when animateTo
/`snapTo` is called, whereas AnimationState
is designed for one-shot animation use cases. Animatable
uses AnimationState
under the hood with additional animation lifecycle management and interruption handling.