protected virtual MvxTableViewSource CreateSource(UITableView tableView) { return(new GeneralTableViewSource( tableView, DefaultLayout as IMvxLayoutListItemViewFactory, ItemLayouts.ToDictionary(x => x.Key, x => x.Value as IMvxLayoutListItemViewFactory))); }
protected virtual MvxLayoutDrivenAdapter CreateAdapter(Context context) { #warning TODO - this "casting" could be more efficient return(new MvxLayoutDrivenAdapter( context, DefaultLayout as IMvxLayoutListItemViewFactory, ItemLayouts.ToDictionary(x => x.Key, x => x.Value as IMvxLayoutListItemViewFactory))); }