-2
I have a one-screen app, a "Contentpage".
I can’t get out of the app with "Popasync()".
I’m debugging on a Samsung J6 device.
// página instanciada
MainPage = new NavigationPage(new Inicio());
// opção usada para sair do aplicativo
private async void Sair(object sender, EventArgs e)
{
await Navigation.PopAsync();
}
if there is no other page on the navigation stack, it seems that a pop... to close the application: https://stackoverflow.com/a/30571114/4713574
– Rovann Linhalis
My Visual Studio does not recognize the "OS" object/method: "Android.OS."
– Domingos Neto
Or is missing import a namespace using Android.OS;, Using Namespace, or missing reference to an Assembly, how to reference an Asssembly,
– Augusto Vasques