Clean-Android-Code
Clean-Android-Code copied to clipboard
MVP + Dagger 2 + RxJava + Retrofit2
I have currently 4 different baseurl for different things in API call so how do I set all of them depends on requirement?
Hello. I made everything like in https://medium.com/@nurrohman/a-simple-android-apps-with-mvp-dagger-rxjava-and-retrofit-4edb214a66d7. Launched an application and received a white screen with blue toolbar. No cities are shown.
> import com.plaps.androidcleancode.deps.DaggerDeps; import com.plaps.androidcleancode.deps.Deps; import com.plaps.androidcleancode.networking.NetworkModule; import java.io.File; /** * Created by ennur on 6/28/16. */ public class BaseApp extends AppCompatActivity{ Deps deps; @Override public void onCreate(Bundle savedInstanceState) {...
A great reason for using Dagger and an architecture is to facilitate unit-testing. How come you've skipped unit tests ? Excellent demo code otherwise
Hi, I just find a bug that the getListSuccess() in Homeresenter.java should be GetCityListSyccess()
Here I'd like to point out that your [Medium tutorial](https://medium.com/@nurrohman/a-simple-android-apps-with-mvp-dagger-rxjava-and-retrofit-4edb214a66d7#.eqagi6txi) is not a tutorial by itself, at the moment it's just a bunch of code mirrored from GitHub. Mind you,...
Question
hi guys,i am Chinese student. My english is poor Can you explain to me why you write like this I have never met this kind of writing ...
In HomeActivity, can't we initialize HomePresenter via Dagger instead of directly using "new" operator, as Definition of Dependancy Injection, there will you not be an explicit initialization of the object,...