-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What purpose in setPresenter() method inside View wich has injection of that's presenter #27
Comments
I was wondering about this too. I can remove Another thing which seemed redundant is the class BrowseBufferoosPresenter @Inject constructor(
val browseView: BrowseBufferoosContract.View,
val getBufferoosUseCase: SingleUseCase<List<Bufferoo>, Void>,
val bufferooMapper: BufferooMapper): BrowseBufferoosContract.Presenter { We already provide the |
|
@DevKate Regarding
Now in order to do that in Presenter we need to use concrete Use Case implementation, not the
|
android-clean-architecture-boilerplate/mobile-ui/src/main/java/org/buffer/android/boilerplate/ui/browse/BrowseActivity.kt
Line 21 in db8130d
Hello, I figured that you set presenter in BrowseActivity using dagger injection and method setPresenter() which I think would be redundant becouse of using dagger. Maybe you can correct me, if I'm mistaken.
Also I'm pretty excited about this article with new vision of clean architecture, and your second topic with new architecture components from google is good too. Nice work!
The text was updated successfully, but these errors were encountered: