Sample App: Kotlin-MVP-Dagger2
Kotlin’s popularity is growing day by day. Many libraries, documents and other resources have already published with Kotlin. We may check the list with a simple search of ’awesome Kotlin’.
So, this application will cover two design patterns: MVP and Dependency Injection. You may heard typicode, was used as server. It will be abstracted by using Retrofit and RxJava2 will be used to make requests it as observables which is another hot topic for mobile development.
If you would like to read details: https://medium.com/@ogulcan/kotlin-mvp-dagger-2-retrofit-sample-android-application-e6fe3af7acd
Libraries & Documents:
- Dagger2: GitHub - google/dagger: A fast dependency injector for Android and Java.
- Retrofit: GitHub - square/retrofit: Type-safe HTTP client for Android and Java by Square, Inc.
- RxJava2: GitHub - ReactiveX/RxJava: RxJava – Reactive Extensions for the JVM – a library for composing asynchronous and event-based programs using observable sequences for the Java VM.
- Constraint-Layout: Build a Responsive UI with ConstraintLayout | Android Developers
- Typicode Server: JSONPlaceholder - Fake online REST API for developers