Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

OnDisappearing event fired in the first page of the NavigationPage stack.

$
0
0

Hi,
I'm pretty new on xamarin form and I would like to understand why
if I initialize my first page in the NaviagationPage also the event OnDisappearing is fired.
That's my code in the app.cs file:
public App ()
{
InitializeComponent();
MainPage = new NavigationPage(new Page1());
}

and at the startup of the app the event OnDisappearing (I ovveride the method) is fired in the Page1 but the Page1 is visible properly.

Thanks


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>