Open eugene-bes opened 1 year ago
Maybe duplicate of https://github.com/cashapp/paparazzi/issues/627.
@jisungbin I expected this to work but it doesn't :(
@jrodbx Any updates on this?
Update here, unfortunately AndroidX Compose Animations track the animation start time to animate state. As such, paparazzi jumps to the offsetMillis
passed in snapshot/gif methods. This makes snapshots at the given offset not represent the actual state as the start time becomes the offsetMillis
passed.
Fixes:
offsetMillis > 0
, requiring the initial render for the 0
frame to track the correct animation timing with startTime = 0
in compose animation.I am leaning toward 2 as it unblocks us. It does require an additional render but I think this is okay as it should only effect snapshots/gifs with offset > 0
Hi. I have compose widget with animation effect. This animation has a duration about 500ms. How can I add delay 500ms before the paparazzi takes a screenshot?