public MovieViewModel() { movies = new InfiniteScrollCollection <Movie> { OnLoadMore = async() => { IsBusy = true; // load the next page var page = movies.Count / PageSize; var items = await movieService.GetMoviesAsync(page, PageSize); IsBusy = false; // return the items that need to be added return(items); }, OnCanLoadMore = () => { return(movies.Count < 100); } }; _ = DownloadDataAsync(); }