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

OnViewAppearing XLabs Does it work?

$
0
0

Nothing seems to happen when I use OnViewDisappearing from my ViewModel.
I am using it like this

    public override void OnViewDisappearing ()
    {
        base.OnViewDisappearing ();
        System.Diagnostics.Debug.WriteLine ("Test");
    }

OnDisappearing works fine from the View

    protected override void OnDisappearing ()
    {
        base.OnDisappearing ();
        System.Diagnostics.Debug.WriteLine ("Test from view");
    }

Viewing all articles
Browse latest Browse all 58056

Trending Articles



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