Esempio n. 1
0
        private async void LoadData()
        {
            try
            {
                StartBusiness();
                UserInfo = await SocialNetworkService.GetInfoAboutMeAsync();

                var albums = await SocialNetworkService.GetAlbumsAsync(UserInfo.Id);

                Albums = new ObservableCollection <PicasaItem>(albums);
            }
            catch (Exception ex)
            {
                Log.Write(string.Format("LoadData Error: {0}", ex.Message));
            }
            finally
            {
                StopBusiness();
            }
        }