Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

How to hide progress indicator only after view is updated?

$
0
0

Hi,
in my application some operations are time consuming and require a progress indicator. I use Acr.UserDialogs.ShowLoading/HideLoading for this. The problem is, often the progress indicator is hidden before UI is updated. I believe this is because HideLoading somehow gets exececuted first on the UI thread although it was invoked after UI updating operations.
I'm looking for a way to get notified when all UI updates are completed, UI thread is idle, and call HideLoading then.
Does anybody have a solution?
Thanks

Przemek


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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