Exemplo n.º 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;
        }
Exemplo n.º 2
0
        private async void LoadMoreStories()
        {
            await VM.LoadMore();

            MainListView.FinishLoadingMore();
        }