public async Task <IEnumerable <User> > GetFollowingUserList(uint startIndex, int page) { FollowingListViewModel.UserList.NoMore(); IsLoading = true; var list = new List <User>(); try { await Task.Delay(300); list = await Context.API.UserAPI.GetFollowingUserList(User?.user_id, FollowingListViewModel.GetMaxSeq()); if (list.Count == 0) { FollowingListViewModel.UserList.NoMore(); } else { FollowingListViewModel.UserList.HasMore(); } return(list); } catch (Exception ex) { } finally { IsLoading = false; } return(list); }
public override void OnNavigatedFrom(HBNavigationEventArgs e) { MyPinListViewModel.Clear(); LikePinListViewModel.Clear(); FollowingListViewModel.Clear(); FollowerListViewModel.Clear(); base.OnNavigatedFrom(e); }