Hi everyone. I have a top banner with a visibility...
# compose
h
Hi everyone. I have a top banner with a visibilityAnimation that appears expanding from top. Is there any way to setup the preview to see it after the content becomes visible? For example, to define the preview to be the state 400ms after creation? I can see it in the animation preview in AS, but as you can see in picture one I can have 3 different states which I would like to show them directly on the regular preview
A more detailed picture of the animation preview for those unfamiliar with it. I only have an AnimatedVisiblity animation
m
You could separate out the animation and have the 3 previews for the 3 banner states without any animation, then have a separate Composable that wraps the banner with the animation (with no preview, or another one)
h
Indeed that’s a good idea, thanks!