public override void ViewDidLoad() { base.ViewDidLoad(); // Do any additional setup after loading the view. //Get used binders for this view this._contactSummaryMb = AppDelegate.Ioc.Resolve <ContactsSummaryModelBinders>(); this._contactsMb = AppDelegate.Ioc.Resolve <ContactsModelBinders>(); //------------------------------ this.InitModelBinders(); var dataSource = new ContactTableDataSource(this._contactsMb.Contacts); this.ContactsList.DataSource = dataSource; this.ContactsList.Delegate = new ContactTableDelegate(dataSource); }
public ContactTableDelegate(ContactTableDataSource datasource) { this.DataSource = datasource; }