Android Application MVP (Model-View-Presenter) architecture example using Dagger2 Dependency Injection (DI) and Retrofit Tutorial using Kotlin programming language.
Switch branches/tags
Nothing to show
Clone or download
ehtisham.haq
ehtisham.haq Local Changes merged
Latest commit 1623746 Jul 10, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea PostAdapter location changed Jul 10, 2018
app Local Changes merged Jul 10, 2018
gradle/wrapper Initial commit Apr 20, 2018
.gitignore Initial commit Apr 20, 2018
README.md Update README.md Apr 20, 2018
build.gradle Local Changes merged Jul 10, 2018
gradle.properties Initial commit Apr 20, 2018
gradlew Initial commit Apr 20, 2018
gradlew.bat Initial commit Apr 20, 2018
settings.gradle Initial commit Apr 20, 2018

README.md

mvp-architecture-kotlin-dagger-2-retrofit-android

We will learn MVP(Model-View-Presenter) in Android using Kotlin.

And we will implement Dependency Injection(DI) using Dagger2 library.

And We will also use Retrofit using Kotlin in our sample project to learn everything together.

We will learn everything in the following sequence:-

We will learn about MVP Design Pattern.

How to implement MVP in Android.

Project folder structure for MVP in Android using Kotlin.

MVP code sample in Kotlin.

We will learn about Dependency Injection.

Setup Gradle dependencies for Dagger2 and Retrofit in Android Studio for Dagger2.

Implement Dagger2 (DI) in our sample MVP Android App sample project using Kotlin.

Implementing Retrofit using Kotlin in our MVP Android sample project.

Reference:

http://developine.com/building-android-mvp-app-in-kotlin-using-dagger-retrofit/