This Repo demonstrates the use of Kotlin DSL to makes your code more easily readable. DSL make the code easily readable not only for developers but for any non technical person.
This project is a starting point for creating your own Kotlin DSL.
- we have two data class Person and Address in PersonModel to store our data.
- we have PersonDsl for creating our own very first Kotlin Dsl.
- We have MainActivity where we will see our DSl in action.