Beispiel #1
0
        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);
        }