Exemple #1
0
        private async Task ExecuteGetCPFeedCommand()
        {
            if (IsBusy)
            {
                return;
            }

            IsBusy = true;

            GetCPFeedCommand.ChangeCanExecute();

            try
            {
                myProfile = await cpFeed.GetMyProfile("stanley_alves", "cqzp798371@");

                this.Avatar      = myProfile.avatar;
                this.DisplayName = myProfile.displayName;
                Profile.Add(myProfile);
                // avatar.Add(profiles.avatar);
                IsBusy = false;
            }
            catch (Exception ex)
            {
            }
        }