How to play animation on all lazy list items, even if their position is offscreen? (Jetpack Compose)

For example:
I have 20 lazy list items, 10 of them offscreen.
When I initialize lazy list, I want to play animation on all items simultaneously and remember it. If item has been scrolled in proccess of animation, the animation proceed offscreen. Animation is not infinite, and it should not be repeated.

How can i achieve that?

submitted by /u/space_trueper
[link] [comments]