Example #1
0
        private async Task LoadData(Guid profileId)
        {
            var profile = await ExecuteAsync(new GetUserProfileRequest(profileId));

            Info     = new ProfileStatisticViewModel(ProfileUriPattern, profile);
            Pictures = new IncrementalLoadingCollection <PictureViewModel>((i, s) => LoadPictures(Info.ProfileId, i, s));
            await RefreshState();
        }
 public void Load(ProfileStatisticViewModel profile)
 {
     Activities = new IncrementalLoadingCollection <ActivityViewModel>((i, s) => LoadMoreActivities(profile.ProfileId, i, s));
 }