/CleanKotlin

Example app that shows how to create a clean android app with kotlin

Primary LanguageKotlin

Clean Kotlin

Goals:

  • Develop a Kotlin android app from scratch
  • Apply uncle's bob clean architecture to an android app
  • Isolate layers of clean architecture (presentation, domain, data) in independant android-libraries
  • Use MVP with a Router/Navigator in the presentation layer
  • Include elements from another clean based architectures such as VIPER

What the hell is Clean Architecture?

With this scheme i try to show the components needed in differents layers.

What libraries i use to do that?

Some libraries are necessary to simplify the development of an app based on this architecture.

Presentation Domain Data
RxJava RxJava RxJava
RxAndroid RxAdapter
Material Snackbar OkHttp
Material Dialogs Retrofit
Glide Gson

References

To develop this example app i read multiple articles that inspire to me:

Extra:

Author

Abimael Barea @elabi3