Use three ways to achieve. One is straightforward version (Code in MainActivity.kt). One is Mosby+MVP+Dagger+Rxjava+Retrofit version (Code in MainActivityMVP.kt). And last one is architecture components+data binding MVVM version. Check out this for clean architecture version
Data from Json
- Mosby
- Rxjava
- RxAndroid
- RxLifeCycle
- Architecture Component
- Room
- Data Binding
- Retrofit
- Okhttp
- Dagger
- Dagger-android
- Android-State
- Gson