-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Labels
Description
We have a few needs in this space! Currently, we offer some animation APIs via the backstack APIs, but let's try to flush this out into a full API.
- Inspired by @oldergod's mention in his Broadway talk at Droidcon NYC, let's explore implementing an
AnimationFactory
API to allow providing animations between two given screens. This would allow us to contribute a transition for these screens as keys. - Batteries-included animations. We have one already where it defaults to
CrossFade
, let's make a few more available likePushLeft
,PushRight
, etc. - Is the current backstack animation API good enough for our needs? Do we want to make other changes to better support an
AnimationFactory
API? What about looking at what https://github.com/rjrjr/compose-backstack does?
A good example for this would be to make the petlist -> detail transition use the iamge as a shared hero element
mboudraajisungbin and whitescent