Skip to content

This example application implements MVP architecture using Kotlin, Dagger2, RxJava2 and also inject, constraint-layout, typicode api.

License

Notifications You must be signed in to change notification settings

kpilcicki/kotlin-mvp-dagger2

 
 

Repository files navigation

Sample App: Kotlin-MVP-Dagger2

Kotlin + MVP + Dagger + Retrofit + RxJava2

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:

  1. Dagger2: GitHub - google/dagger: A fast dependency injector for Android and Java.
  2. Retrofit: GitHub - square/retrofit: Type-safe HTTP client for Android and Java by Square, Inc.
  3. 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.
  4. Constraint-Layout: Build a Responsive UI with ConstraintLayout | Android Developers
  5. Typicode Server: JSONPlaceholder - Fake online REST API for developers

About

This example application implements MVP architecture using Kotlin, Dagger2, RxJava2 and also inject, constraint-layout, typicode api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%