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

OnCurrentPageChanged issue on Windows Phone 8.1

$
0
0

This code works pretty well on iOS and Android, but why it does not work on Windows Phone 8.1 and are there any workarounds?

protected override void OnCurrentPageChanged ()
    {
        base.OnCurrentPageChanged ();

        if (this.CurrentPage.Title == StaticData.TrialViewTitle)
        {
            if (App.LoggedUser == null)
            {
                this.CurrentPage = this.Children[0];
            }
        }
    }

Viewing all articles
Browse latest Browse all 77050

Trending Articles



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