Forum Xamarin.Forms
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

App MainPage

Luis_dmLuis_dm USMember ✭✭✭

How can I do to use the masterdetail that already has?

explain:
what happens is that use notifications and at the moment of giving click to the notification, leads me to a page that I told you, but does not use the masterdetailPage that I already had before, creates a new one apparently... shows me the menu but when clicking any of the options nothing happens, does anyone know how to solve this?

Im use for open :
((InicioPage)Xamarin.Forms.Application.Current.MainPage).Detail = new NavigationPage(new PaginaDatos());

Thanks in advance.

Best Answer

  • Luis_dmLuis_dm USMember ✭✭✭
    Accepted Answer

    var actionPage = ((InicioPage)App.Current.MainPage).Detail;
    actionPage.Navigation.PushAsync(new PaginaDatos()));

Answers

  • Luis_dmLuis_dm USMember ✭✭✭
    Accepted Answer

    var actionPage = ((InicioPage)App.Current.MainPage).Detail;
    actionPage.Navigation.PushAsync(new PaginaDatos()));

Sign In or Register to comment.