void ShowInner() { OnceInitializeAction?.Invoke(); var payload = new LoadingDialogPayload(ContentView, _loadingView); var bundle = new Bundle(); bundle.PutSerializable(LoadingDialogPayload.PayloadKey, payload); PlatformDialog.Arguments = bundle; PlatformDialog.Show(FragmentManager, LoadingImplementation.LoadingDialogTag); }
public void Show(string message = null, bool isCurrentScope = false) { OnceInitializeAction?.Invoke(); var payload = new LoadingDialogPayload(ContentView); var bundle = new Bundle(); bundle.PutSerializable(LoadingDialogPayload.PayloadKey, payload); PlatformDialog.Arguments = bundle; _message = message ?? _config.DefaultMessage; _messageLabel.Text = _message; PlatformDialog.Show(FragmentManager, LoadingImplementation.LoadingDialogTag); }
void ShowInner(bool isCurrentScope) { IsRunning = true; OnceInitializeAction?.Invoke(isCurrentScope); if (IsCurrentScope.HasValue && IsCurrentScope != isCurrentScope) { SetOverlayConstrants(isCurrentScope); } IsCurrentScope = isCurrentScope; _loadingView.RunPresentationAnimation(); UIView.Animate(0.25, () => OverlayView.Alpha = 1f, () => { }); }
public void Show(string message = null, bool isCurrentScope = false) { IsRunning = true; _message = message ?? _config.DefaultMessage; OnceInitializeAction?.Invoke(isCurrentScope); if (IsCurrentScope.HasValue && IsCurrentScope != isCurrentScope) { SetOverlayConstrants(isCurrentScope); } IsCurrentScope = isCurrentScope; _activitySpinner?.StartAnimating(); UIView.Animate(0.25, () => OverlayView.Alpha = (float)_config.Opacity, () => { }); }