Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

kmmraj/kt-clean-code4Android-generator

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.