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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -