Lottie & Collection view #2107
Unanswered
Islam-Metwally
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
we are using Lottie view inside a cell of a collection view, every time we scroll back and forth the Lottie view, the animation replays , memory jumps around 10MB and the CPU usage spikes (even with mainThread engine).
is there a way we can have less CPU usage spikes?
is there a way we can free memory used by Lottie for previous animations?
is there a way where we can cache a view with the animation inside and then we don't have to set the animation of the view every time the cell will appear?
Beta Was this translation helpful? Give feedback.
All reactions