Skip to content

kmmraj/kt-clean-code4Android-generator

Repository files navigation

Kotlin Clean Code For Android - Scaffolding Tool - Auto generate needed files from Android Studio

Inspired from Clean Architecture from Uncle Bob, Google Android samples and Clean Swift

This design is chosen with a singular focus - testability.
Example of this template in action here

Kotlin Clean4Android Image

Quick Start

  • Clone this project and copy the contents to the following location in your Android Studio

  • Windows : Navigate to the location of the templates folder :

    cd {ANDROID_STUDIO_LOCATION}/plugins/android/lib/templates/other/
    
  • MacOS: Navigate to the location of the templates folder :

    cd /Applications/Android\ Studio.app/Contents/plugins/android/lib/templates/other/
    
  • Restart Android Studio - It should work with out any issues

Kotlin CleanCode4Android in Action

Kotlin CleanCode4Anroid in Action

Contribute

Welcome to contribute, feel free to change and open a PR.

License

MIT License

TODO

  1. Create scaffolding for Test classes

Credits

This project ideas aren't new in any way. Credit has to be given to the following projects, listed in autobiographical order.

Clean Architecture

clean-swift

Make your own File Templates in Android Studio

Mastering Android Studio Templates

Releases

No releases published

Packages

No packages published