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); }); }
public SearchDelegate(ViewModelCollectionViewController <TViewModel> container) { this.container = container; }