6thsolution / EasyMVP

A full-featured framework that allows building android applications following the principles of Clean Architecture.
http://6thsolution.github.io/EasyMVP
Apache License 2.0
1.3k stars 129 forks source link

Support bluelinelabs/Conductor #10

Closed erva closed 7 years ago

erva commented 8 years ago

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)

SaeedMasoumi commented 8 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?

erva commented 8 years ago

Yes, you're right and maybe some stuff for RxController

SaeedMasoumi commented 8 years ago

@ervinmartirosyan Thanks, I will support this feature soon.

mradzinski commented 7 years ago

+1 on this. It's the only reason why I'm not using this instead of Mosby 😞