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; }
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); }
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; }