- This is the demo project of the Kotlin clean Archicture and How to do naming convention into the application or program.
- This project contains the Clean architecture of the Kotlin Programming
- We have Used the Observer and design patters as per the latest architecture components
- In this sample demo we have implemented the MVVM coding structure using the View model and Databinding.
Kotlin-boilerplate-sample contains following directory structure.
-
data :It contains API classes.
-
domain :It contains model, interfaces and utility classes.
-
presentation : It contains Activities, Adapters and ViewModels..
Kotlin-boilerplate-sample uses the follow techs and specs:
- Kotlin - Back end programming use for the mobile apps!
- XML - XML is for the UI/UX(Front End) developed into the XML Tags i.e. TextView,EditText...
- Android Studio - An Editor tool use for the write kotlin and xml code into it.
- AVD - It's Debugger tool use for the developer to debug the application in Android studio editor.
- Simulator - Virtual device use for the running the application on it.
- Android Studio 4.0
- Kotlin (Application development language)
- Retrofit (for API calls)
- Coil (Image loader class)
- CircleImageView (Circle image class)
- RxAndroid: Reactive Extensions
- SDP scalable (SDP for the text of the application)
And of course Kotlin Naming Convention itself is open source with a [GitHub RepoUrl] on GitHub.
-
Install Android Studio IDE from the Developer Android[https://developer.android.com/studio].
-
Clone the application using the git url
$ git clone https://github.com/TheOneTechnologies/kotlin-boilerplate-sample.git
Kotlin Coding Structure is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.
Plugin | README |
---|---|
Material | [https://github.com/material-components/material-components-android/releases] |
Core-KTX | [https://developer.android.com/kotlin/ktx] |
Retrofit | [https://square.github.io/retrofit/] |
SDP scalable | [https://github.com/intuit/sdp] |
Reactive X | [https://github.com/ReactiveX/RxAndroid] |
Coil Image Loading | [https://github.com/coil-kt/coil] |
- Write MORE Tests
The One Technologies