• Stars
    star
    156
  • Rank 232,586 (Top 5 %)
  • Language
    Kotlin
  • License
    GNU General Publi...
  • Created over 6 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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