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

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 89864

Trending Articles