[Prism] - Navigation with MasterDetail pages Navigated event.

pasteusernameherepasteusernamehere ✭✭Member ✭✭

Good day all,

I have a setup similar to the following:

  • MasterDetailPage
    • Page1
    • Page2

When I navigate to Page1 the Navigated event fires in both Page1 and MasterDetailPage. The same goes for navigating to Page2.

Is this expected? I would totally expect the event to fire in Page1 but I was not expecting it to fire in MasterDetailPage.

Is my expectation of the event firing only in Page1 incorrect?

Best Answer

Answers

  • pasteusernameherepasteusernamehere ✭✭ Member ✭✭

    I think I have found the recommended approach thanks to this post: github.com/PrismLibrary/Prism-Samples-Forms/issues/30

    If anyone else has an alternative approach I would be glad to hear it.

    Cheers!

  • NMackayNMackay mod GBInsider, University mod

    @pasteusernamehere said:
    I think I have found the recommended approach thanks to this post: github.com/PrismLibrary/Prism-Samples-Forms/issues/30

    If anyone else has an alternative approach I would be glad to hear it.

    Cheers!

    Yeah, that's a known issue. See my code I posted. Think it's a Forms issue.

Sign In or Register to comment.