Kotlin has the concept of Delegated Properties which allows you to create common functionality and it can be re-used to do custom actions, for example you can create a Delegated Property to print…
https://proandroiddev.com/kotlin-faster-lazy-for-android-7328ec8d8d57