Show Acr User Dialogs loader until end of method xamarin forms (android)
问题 I use ShowLoading() Acr UserDialogs (v5.2.2) on my xamarin forms project (android and ios) but i wont start loader before start await method and Hide Loader with the end. My code working on ios but on android nothing happened. example async Task MyMethod() { UserDialogs.Instance.ShowLoading("Loading",MaskType.Black); await ViewModel.LoadData(); UserDialogs.Instance.HideLoading(); } //InsideViewModel public async Task LoadData(); { await Task.Yield(); //without this code and ios doesnt work /