예제 #1
0
        private async void LoadMoreStories()
        {
            if (_isLoadComplete)
            {
                MainListView.FinishLoadingMore();
                return;
            }

            var preCount = VM.StoryDataList.Count;
            await VM.LoadMore();

            MainListView.FinishLoadingMore();
            _isLoadComplete = preCount == VM.StoryDataList.Count;
        }
예제 #2
0
        private async void LoadMoreStories()
        {
            await VM.LoadMore();

            MainListView.FinishLoadingMore();
        }