Quantcast
Viewing all articles
Browse latest Browse all 77050

OnCurrentPageChanged issue on Windows Phone 8.1

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