I have a fragment and have a layout which has multiple views - around 15 to 20, which will be updated every second with values. And I have a GIF animation running amidst of all these views. This animation is being very slow and does not run smoothly; that said, this animation stops a bit and runs again while other 15 to 20 views are being updated. This really makes animation look very non smooth.
All these views are being updated in same UI thread.
Could you please tell how should I update animation independent of other views so that it runs smoothly.
Thanks.