Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 1888

TAniIndicator slows down app (Android)

$
0
0

In my Android app I have a thread that downloads a file with THttpNetRequest.Get; since it takes average 4 seconds, I decided to add a TAniIndicator to show the user a download is in progress. At the beginning of the thread I set MyAniIndicator.Enabled := True and at the end of the thread I set it to false again (both using Synchronize).

It works, however now my thread takes average 8 seconds to complete. It seems that the animation takes a lot of time while rotating, but this can not be intentional i guess???

(using Delphi DX10 Seattle 23.0.21418.4207)

 


Viewing all articles
Browse latest Browse all 1888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>