Exemplo n.º 1
0
        protected override async void OnAppearing()
        {
            var ur = new UserResources();
            var user = await ur.GetUserAsync();
            
            UserNameLabel.Text = user.Name;

        }
Exemplo n.º 2
0
        protected override async void OnAppearing()
        {
            var ur   = new UserResources();
            var user = await ur.GetUserAsync();

            EmailLabel.Text    = user.Email;
            ProviderLabel.Text = user.IdentityProvider;
            UserLabel.Text     = user.Name;


            st = new StateActionResources();
            var text = await st.GetStateAction();

            if (string.IsNullOrWhiteSpace(text))
            {
                StateGrid.IsVisible = false;
            }
            else
            {
                StateGrid.IsVisible = true;
                StateLabel.Text     = text;
            }
        }