xamarin.ios - How to use Ninject property injection from UITableViewController? -
i using portable.ninject in xamarin.ios app , inject services on properties. [inject] on property doesn't work because viewcontroller isn't created ninject.
how can use ninject property injection in uitableviewcontroller ?
you can use kernel.inject(myfooinstance)
have ninject perform property injection on existing objects. properties still need [inject]
attribute.
Comments
Post a Comment