Esempio n. 1
0
        public async void StartUp()
        {
            if (await DatabaseUserDetail.generateUserData())
            {
                user = DatabaseUserDetail.getUserData();

                ProfileImage.Source = user.Uri;
                name.Text           = user.Name;
                surname.Text        = user.Surname;
                email.Text          = user.Email;
            }
        }
Esempio n. 2
0
        private async void Button_Clicked(object sender, EventArgs e)
        {
            await PopupNavigation.PushAsync(new PopupUpdateUser(user));

            if (await DatabaseUserDetail.generateUserData())
            {
                user = DatabaseUserDetail.getUserData();

                ProfileImage.Source = user.Uri;
                name.Text           = user.Name;
                surname.Text        = user.Surname;
                email.Text          = user.Email;
            }
        }