private async void SetupSampleData()
        {
            RecentActivityScrollingCollection = new RecentActivityScrollingCollection();
            var items = await SampleData.GetSampleRecentActivityFeed();

            foreach (var item in items)
            {
                RecentActivityScrollingCollection.Add(item);
            }
            RecentActivityScrollingCollection.Add(new Feed()
            {
                IsNextButton = true
            });
        }
        public async Task LoadPage()
        {
            var testFeed = new RecentActivityScrollingCollection
            {
                _page == 0
                    ? new Feed()
                {
                    IsPreviousButton = true, IsReloadButton = true
                }
                    : new Feed()
                {
                    IsPreviousButton = true
                }
            };
            var result = await LoadFeed(testFeed);

            if (result)
            {
                result = await LoadFeed(testFeed);
            }
            if (result)
            {
                testFeed.Add(new Feed()
                {
                    IsNextButton = true
                });
            }
            RecentActivityScrollingCollection = testFeed;
        }
 public async Task LoadPage()
 {
     var testFeed = new RecentActivityScrollingCollection
     {
         _page == 0
             ? new Feed() {IsPreviousButton = true, IsReloadButton = true}
             : new Feed() {IsPreviousButton = true}
     };
     var result = await LoadFeed(testFeed);
     if (result)
     {
         result = await LoadFeed(testFeed);
     }
     if (result)
     {
         testFeed.Add(new Feed() { IsNextButton = true });
     }
     RecentActivityScrollingCollection = testFeed;
 }
 private async void SetupSampleData()
 {
     RecentActivityScrollingCollection = new RecentActivityScrollingCollection();
     var items = await SampleData.GetSampleRecentActivityFeed();
     foreach (var item in items)
     {
         RecentActivityScrollingCollection.Add(item);
     }
     RecentActivityScrollingCollection.Add(new Feed() { IsNextButton = true });
 }