NET MAUI 03L - NavigationPage

.NET MAUI 03L - NavigationPage
The NavigationPage is established in code and creates a hierarchical stack of displayed pages. Individual ContentPages can be pushed asynchronously onto the stack or popped off of it in a LIFO (Last In First Out) order using PushAnyc( ) and PopAsync( )methods. The PopToRootAsync( ) method clears the stack and returns the display to the root (home) page.
.NET MAUI Practicum video with Professor Stephen F. Hustedde

Пікірлер: 3

  • @Danilo-zr7bz
    @Danilo-zr7bzАй бұрын

    Great video! It's really helpful.

  • @mugileeshwaranj.s8484
    @mugileeshwaranj.s84843 ай бұрын

    How to handle navigation in non UI classes, i have to use navigation inside the class which is inside andriod folder..

  • @StephenHustedde

    @StephenHustedde

    3 ай бұрын

    I'm not comprehending what you mean by "Navigation of non UI classes" outside of detailed context, as navigation is always tied to the UI. I am surmising that you are talking about iterating through instances of a data class or searching /displaying a specific data instance? Use a generic List with the T of your list being the data class object type. Then you can iterate through them in a loop, use Language Integrated Query (LINQ) or some other search algorithm of your own design. Good luck to you on your project. BTW, then also explore data binding of your controls to the data list source. Take a look at the JSON Demo (04D-04F) and South Mountain Motors (04L-04F) projects of the .NET MAUI Practicum playlist as examples of working with List of data instances.