Esempio n. 1
0
        public async void RedIncorrecta()
        {
            await PopupNavigation.PushAsync(loadingRed = new LoadingPage(textLoadingDetail));

            await Task.Delay(2500);

            await PopupNavigation.RemovePageAsync(loadingRed);

            await PopupNavigation.PushAsync(redIncorrecta = new IncorrectNetworkPage(textTitleError, textDetailError));
        }
Esempio n. 2
0
        public async void RedIncorrecta()
        {
            if (estadoRedCorrecta == 1)
            {
                await PopupNavigation.RemovePageAsync(redCorrecta);

                estadoRedCorrecta = 0;
            }
            else if (estadoVPN == 1)
            {
                await PopupNavigation.RemovePageAsync(alertaVPN);

                estadoVPN = 0;
            }
            else
            {
                await PopupNavigation.PushAsync(redIncorrecta = new IncorrectNetworkPage(titleError, detailError));

                estadoRedIncorrecta = 1;
            }
        }