Replies: 3 comments 10 replies
-
|
Is there any update regarding this matter? Additionally, I was also considering utilizing LootieView as an option. |
Beta Was this translation helpful? Give feedback.
-
|
I've also had lots of problems with frozen/glitchy animated controls caused by threads being overworked. If you can get away with it (and you have suitable media) - you can actually use an animated gif (transparent supported too) with the regular Image control - and it doesn't get frozen at all no matter what is going on in the app/threads. There's a huge amount of good gif content available for this (ie. spinners/loading animations etc) as it's the most common approach used for websites. There was some issues in past with it not working on Release mode on Android but I think that's fixed now. |
Beta Was this translation helpful? Give feedback.
-
|
The question is flawed because one should never keep the main thread busy, as this leads to a poor user experience regardless of the activity indicator, busy animation, or similar visual cues. In a past project, I found unnecessary work on the UI thread. Refactoring to use the task pool improved performance and required developers to be more selective about scheduling work on the UI thread. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've been trying to create my own ActivityIndicator. My approach has been to create a ContentView with a lottie animation on it:
The problem with this approach seems to be SKLottieView running on main thread, so if main thread is busy, I just get a freezed animation.
Is there any other approach I could use instead to achieve the ActivityIndicator behavior?
Beta Was this translation helpful? Give feedback.
All reactions