private async void ShowLoading(AppActivityIndicator indicator) { if (!_isLoading) { return; } await PopupNavigation.Instance.PushAsync(indicator); }
public IDisposable Show() { _isLoading = true; _indicator = new AppActivityIndicator { Content = _indicatorViewFactory() }; ShowLoading(_indicator); return(Disposable.Create(HideLoading)); }