-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
High CPU load even if hidden #3
Comments
The library uses branching for
Also, you are using branching too! So the code will not call the So you need to extract the shimmer out like:
This is just a work around and I hope the library supports the branching and auto animation stop for reduce the CPU usage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi. If I have a view like this:
Then even if isLoading is false is still consumes CPU. The more cells the more consumption. I have about 36% on my iPhone 11 even if there's no shimmering view on screen. If remove shimmering then CPU load is 0%.
The text was updated successfully, but these errors were encountered: