Code style file is located here.
- Download file
funstasty_code_style.xml
- In Android Studio: Settings (
CMD + ,
) > Editor > Code Style > Scheme - Press ⚙️ icon, select
Import scheme
and pick downloaded file - Press
Apply
Every project should respect following file and package hierarchy:
project-android
|-- app
| |-- src/main/
| | |-- kotlin/com/example
| | | |-- data
| | | | |-- database
| | | | | `-- AppDatabase.kt
| | | | |-- model
| | | | | `-- User.kt
| | | | |-- remote
| | | | | `-- RetrofitService.kt
| | | | `-- store
| | | | `-- UserStore.kt
| | | |-- domain
| | | | `-- feature/FeatureInteractor.kt
| | | |-- injection
| | | | |-- module
| | | | | |-- ActivityBuilderModule.kt
| | | | | `-- ApplicationModule.kt
| | | | `-- component
| | | | `-- ApplicationComponent.kt
| | | |-- tools/constant/Constants.kt
| | | |-- ui
| | | | |-- base/BaseActivity.kt
| | | | `-- main
| | | | |-- MainActivity.kt
| | | | |-- MainActivityModule.kt
| | | | |-- MainView.kt
| | | | |-- MainViewModel.kt
| | | | |-- MainViewModelFactory.kt
| | | | `-- MainViewState.kt
| | | `-- App.kt
| | `-- res/layout/activity_main.xml
|-- keystore
| |-- debug.jks
| |-- client.jks
| `-- release.jks
|-- .gitignore
|-- .editorconfig
|-- Dangerfile
|-- detekt.yml