Пример #1
0
 public async void SetBookmarksCount()
 {
     await((HomeLayout)App.Current.MainPage).SetLoading(true, "Loading your bookmarks...");
     user = App.serverData.mei_user.currentUser;
     peopleBCount.Text     = (await BaseFunctions.GetPeopleCount(user.userBookmarks.people)).ToString();
     sessionsBCount.Text   = (await BaseFunctions.GetSessionCount(user.userBookmarks.session)).ToString();
     speakersBCount.Text   = (await BaseFunctions.GetSpeakersCount(user.userBookmarks.speakers)).ToString();
     exhibitorsBCount.Text = (await BaseFunctions.GetExhibitorsCount(user.userBookmarks.exhibitors)).ToString();
     sponsorsBCount.Text   = (await BaseFunctions.GetSponsorsCount(user.userBookmarks.sponsors)).ToString();
     await((HomeLayout)App.Current.MainPage).SetLoading(false, "Loading event sessions...");
 }