Closed erva closed 7 years ago
@ervinmartirosyan Do you mean, add @Controller
annotation on controller class?
@Controller(layout = R.layout.my_view, presenter = MyPresenter.class)
public class HomeController extends Controller {
}
And EasyMVP should inflate layout and add MyPresenter
to HomeController
and dispatch its lifecycle?
Yes, you're right and maybe some stuff for RxController
@ervinmartirosyan Thanks, I will support this feature soon.
+1 on this. It's the only reason why I'm not using this instead of Mosby 😞
https://github.com/bluelinelabs/Conductor Conductor is great View-based approach but there view is wrapped in Controller. Add
Controller
annotation so@Controller(layout = R.layout.my_view, presenter = MyPresenter.class)