Some fixes to the injectors

  < 1

I made some fixes to the injectors to make the use more flexible than the first version.

The first improvement is in the output injector, when I created it, I don’t had in mind to have two in the same presenter and this is a really common thing, so I fixed it.

The other fixes and improvements belongs to the view injector, now it supports a view hierarchy and no longer needs to inherit from a PresenterView parent, so you can have your own hierarchy if you need it. Other improvement is the new annotation @NoDecorated which configures the behaviour to no decorate the annotated method and leaves the the method in the same thread, this is intended for the first methods called directly from the UI thread.

Have you seen any bugs? Do you want any improvements? Tell me!

Did you like this post? You can support my work and help me writting more useful posts: