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

OnNavigatedTo method not fire after navigating in MasterDetailPage

$
0
0

I have a problem when navigate inside MasterDetailPage.
After Clicking button navigate, the target page is shown, but OnNavigatedTo method in target page is not fired. I'm a newbie. please help me.
var navPage = App.Current.MainPage as NavigationPage;
var masterPage = navPage.CurrentPage as MasterDetailPage;
if (action.Equals(AppUIRes.ShowMenuPage_ButtonCheckBike))
{
Title = AppUIRes.CheckBikePage_Title;
masterPage.Detail.Navigation.PushAsync(new CheckBikePage());//I use this line to navigate.
}


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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