public PortableAsyncCollectionWrapper(PortableISupportIncrementalLoad collection)
 {
     _collection = collection;
     if(collection.HasMoreItems && collection.Count == 0)
         _collection.LoadMoreItemsAsync(30).ConfigureAwait(true);
     //Task.Run(() => _collection.LoadMoreItemsAsync(30));
 }
Exemple #2
0
 public PortableAsyncCollectionWrapper(PortableISupportIncrementalLoad collection)
 {
     _collection = collection;
     if (collection.HasMoreItems)
     {
         _collection.LoadMoreItemsAsync(30).ConfigureAwait(true);
     }
     //Task.Run(() => _collection.LoadMoreItemsAsync(30));
 }
 public PortableAsyncCollectionWrapper(PortableISupportIncrementalLoad collection)
 {
     _collection = collection;
 }
 public PortableAsyncCollectionWrapper(PortableISupportIncrementalLoad collection)
 {
     _collection = collection;
 }