Open riggaroo opened 2 months ago
Here is the summary of changes.
This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run
label or use the checkbox below:
Using
SeekableTransitionState
andrememberUpdatedTransition()
withTransition#AnimatedContent
, we can control the shared element seeking state,In this example, a Slider is added to allow for seeking between Home and Details state. The slider also shows progress as the animation happens - so when you click on an item, the progress bar will animate from 0 to 1 - and then back to 0 as it completes the transition.
SeekableTransitionState
can be used to build up your own navigation library, or between different states within one Screen of your UI, if you need the ability to seek between states.