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

OnAppearing called for TabbedPage when not expected

$
0
0

For other pages, I have noticed that OnAppearing event is called only on creation of the page.

But in case of TabbedPage, OnAppearing is called even when navigating back from another page (when another page is popped out). Is this behavior expected or a bug?

Eg: Have child pages A, B, C inside TabbedPage T. Do a PushAsync from A so that Page X is shown. Now press back button so that you are taken back to the TabbedPage with focus in A. At this point, T.OnAppearing is called. Additional info: A.OnAppearing is not called.

Same thing happens for OnDisappearing event also.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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