protected override async Task <bool> GetDataAsync() { var resource = new WishlistResource(Context); _results = await resource.GetWishlistsAsync(startIndex : StartIndex, pageSize : PageSize, sortBy : SortBy, filter : Filter, q : Q, qLimit : QLimit, responseFields : ResponseFields); TotalCount = _results.TotalCount; PageCount = _results.PageCount; PageSize = _results.PageSize; return(_results.Items != null && _results.Items.Count > 0); }
public VnListViewModel() { _vnLinksModel = new VnLinksModel(); VoteCollection.Add("No Change"); VoteCollection.Add("Clear Entry"); VoteCollection.Add("Add/Update Vote"); VnListCollection.Add("No Change"); VnListCollection.Add("Clear Entry"); VnListCollection.Add("Playing"); VnListCollection.Add("Finished"); VnListCollection.Add("Stalled"); VnListCollection.Add("Dropped"); VnListCollection.Add("Unknown"); WishlistCollection.Add("No Change"); WishlistCollection.Add("Clear Entry"); WishlistCollection.Add("High"); WishlistCollection.Add("Medium"); WishlistCollection.Add("Low"); WishlistCollection.Add("Blacklist"); }