public InfiniteScrollView(IInfiniteScrollViewDelegate <T> del, CGRect frame) : base(frame, new InfiniteScrollViewLayout(frame.Size)) { this.RegisterClassForCell(typeof(T), InfiniteScrollViewCell.Key); this.ShowsVerticalScrollIndicator = false; this.ShowsHorizontalScrollIndicator = false; this.PagingEnabled = true; this.Source = new InfiniteScrollViewSource <T>(del); this.ScrollToItem(Foundation.NSIndexPath.FromItemSection(1, 0), UICollectionViewScrollPosition.None, false); this.Source.DecelerationEnded(this); }
public InfiniteScrollViewSource(IInfiniteScrollViewDelegate <T> del) { _del = del; }