Example #1
0
        //Fetching data async, and toggling the logo for the question list once data is retrieved
        /// <summary>
        /// Updates the data for the List of Questions page
        /// </summary>
        protected async override void OnAppearing()
        {
            Qaikulogo.IsVisible = true;
            Loading.IsVisible   = true;

            QuestionList.IsVisible     = false;
            NewMessageButton.IsVisible = false;

            BindingContext = await ListOfQuestionsPageModel.Update(User);

            Loading.IsVisible = false;

            Qaikulogo.IsVisible        = false;
            QuestionList.IsVisible     = true;
            NewMessageButton.IsVisible = true;
        }