Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:AiForms.Renderers.CollectionView"/> class.
 /// </summary>
 /// <param name="cachingStrategy">Caching strategy.</param>
 public CollectionView(ListViewCachingStrategy cachingStrategy) : base(cachingStrategy)
 {
     ScrollController      = new ScrollController(this);
     SetLoadMoreCompletion = (isEnd) =>
     {
         SetLoadMoreCompletionAction?.Invoke(isEnd);
     };
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="T:AiForms.Renderers.CollectionView"/> class.
 /// </summary>
 /// <param name="cachingStrategy">Caching strategy.</param>
 public CollectionView(ListViewCachingStrategy cachingStrategy) : base(cachingStrategy)
 {
     ScrollController = new ScrollController(this);
 }