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

General questions to the handling of pages in Xamarin.forms

$
0
0

Hi all

I have general questions to the handling of pages in xamarin.forms (I hope someone can explain :-).

By start of the app (app.cs - GetMainPage()) I load a (first) page as “main-page”.

From the "main-page", I call various “sub-pages” with this.Navigation.PushAsync(new PageXXX());

From the sub-pages I the call further subpages with this.Navigation.PushAsync(new PageYYY());

Anything (navigation) works fine:

I am able to click back from a “sub-sub-page” and the “sub-page” appears.

I am able to click back from a “sub-page” and the “main-page” appears.

Questions:

Page (memory) handling in Xamarin.forms:

- What happens with a “sub-page”, if the “Back-Button” is clicked?

  • Is the page (memory to the page) released automatically (and then allocated new, if the page is called the next time)?

  • Is there anything special to take care about (to the page-handling)?

Central “Navigation-page”:

Actually, the “navigation” in my app works with “button-click and back”.
I want to add a “central main navigation page”.

Always (on every pages except the main-page itself) visible button (icon) on a “task-bar”, that calls the “central main navigation page” from any loaded page. It would be nice, if the “central main navigation page” would “slide-in” from the left side, if the button is clicked (if have seen that in other app’s).

- How to reach that with xamarin.forms (write once, run on iOS, Android and WP)?

Thanks for any feedback

Fredy


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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