public ReactiveTableViewSource(UITableView tableView)
        {
            setupRxObj();
            var adapter = new UITableViewAdapter(tableView);

            this.commonSource = new CommonReactiveSource <TSource, UITableView, UITableViewCell, TableSectionInformation <TSource> >(adapter);
        }
Esempio n. 2
0
        public ReactiveCollectionViewSource(UICollectionView collectionView)
        {
            setupRxObj();
            var adapter = new UICollectionViewAdapter(collectionView);

            this.commonSource = new CommonReactiveSource <TSource, UICollectionView, UICollectionViewCell, CollectionViewSectionInformation <TSource> >(adapter);
        }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ReactiveTableViewSource{TSource}"/> class.
 /// </summary>
 /// <param name="tableView">The table view.</param>
 public ReactiveTableViewSource(UITableView tableView)
 {
     _adapter      = new UITableViewAdapter(tableView);
     _commonSource = new CommonReactiveSource <TSource, UITableView, UITableViewCell, TableSectionInformation <TSource> >(_adapter);
 }