Exemplo n.º 1
0
        public async Task<IBusyOverlayManager> Start(bool hideAppBar = true)
        {
            if (_counter > 0)
                return this;
            _counter++;

            _hideAppBar = hideAppBar;

            _busyOverlay = (BusyOverlay)await BusyOverlay.Create(Content, Closable);
            _busyOverlay.Closed += OnClosed;
            _busyOverlay.Closing += OnClosing;
            return this;
        }
Exemplo n.º 2
0
        public static async Task <IDisposable> Create(string content = null, bool closable = false, bool hideAppBar = true)
        {
            if (_counter == 0)
            {
                _overlay = new BusyOverlay(closable, content, hideAppBar);

                _overlay.Show();
            }

            _overlay.UpdateSize();

            _counter++;

            await Task.Delay(10);

            return(_overlay);
        }
Exemplo n.º 3
0
        public static async Task<IDisposable> Create(string content = null, bool closable = false, bool hideAppBar = true)
        {
            if (_counter == 0)
            {
                _overlay = new BusyOverlay(closable, content, hideAppBar);

                _overlay.Show();
            }

            _overlay.UpdateSize();

            _counter++;

            await Task.Delay(10);

            return _overlay;
        }