private void OWBLE_BoardReconnected() { System.Diagnostics.Debug.WriteLine("OWBLE_BoardReconnected"); if (PopupNavigation.Instance.PopupStack.Contains(_reconnectingAlert)) { PopupNavigation.Instance.RemovePageAsync(_reconnectingAlert); _reconnectingAlert = null; } }
private void OWBLE_BoardReconnecting() { System.Diagnostics.Debug.WriteLine("OWBLE_BoardReconnecting"); _reconnectingAlert = new ConnectingAlert(Board.Name, new Command(() => { // TODO Disconnect. PopupNavigation.Instance.RemovePageAsync(_reconnectingAlert); _reconnectingAlert = null; }), "Reconnecting..."); if (PopupNavigation.Instance.PopupStack.Contains(_reconnectingAlert) == false) { PopupNavigation.Instance.PushAsync(_reconnectingAlert, true); } }