An Android project with MVP pattern which adapts with new Android architecture components introduced in Google IO 2017.
It provides lifecycle-aware Presenter with support of LifeCycle and local data source handled by Room (an abstraction layer over SQLite).
Blog post: Android MVP with new Architecture Components
This demo project uses StackExchange API as a remote data source.
It loads and shows all newest Android questions.
- Architecture Components: Room + Lifecycle.
- RxJava 2 + RxAndroid
- Dagger 2
- ButterKnife
- Timber
- Retrofit + OkHttp
- Glide
- UI: RecyclerView, CardView, ConstraintLayout.
- Unit Testing: JUnit4 + Mockito + Hamcrest
- Developer Debugging Tools: Stetho + LeakCanary
This project is available under the MIT license. See the LICENSE file for more info.