Esempio n. 1
0
 public static void BindList <T, TItem>(this ViewModelCollectionViewController <T> @this, IReadOnlyReactiveList <TItem> list, Func <TItem, Element> selector) where T : class, IBaseViewModel
 {
     list.Changed
     .Select(_ => list)
     .Subscribe(languages => {
         var sec = new Section();
         sec.AddAll(languages.Select(selector));
         @this.Root.Reset(sec);
     });
 }
Esempio n. 2
0
 public SearchDelegate(ViewModelCollectionViewController <TViewModel> container)
 {
     this.container = container;
 }