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

ContentView lifecycle

$
0
0

Hi,

First I'm a huge fan of Xamarin & Xamarin.Forms, it is simply amazing !

My question is :

I am creating a XAML ContentView which has animations looping while the IsVisible property is true and it works fine.

However, how can I detect from this custom control that its containing page has been removed or is not visible anymore when navigating back or forward to another page ? It seems that when navigating back to my first page my component (on the 2nd page) is not destroyed.

Thank you very much,

Have a nice day :-) !


Viewing all articles
Browse latest Browse all 58056

Trending Articles



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