There is my code:
public partial class App : Application
{
public App()
{
MainPage = new NavigationPage(new MainPage());
}
}
public partial class MainPage : ContentPage
{
private void Button_Clicked(object sender, EventArgs e)
{
this.Navigation.PushAsync(new ChannelPage());
}
}
public partial class ChannelPage : ContentPage
{
private async void Channel_Clicked(object sender, EventArgs e)
{
await Navigation.PopAsync();
}
}
When await Navigation.PopAsync();
run, the current page will back to MainPage.
The ChannelPage
will modify some values,
so I need do some process when back to MainPage finish.
I want to know which override function can handle this event in MainPage?