Building Custom Component with Kotlin
Assuming you want to build a page that consist of some repetitive common views. You might not want to duplicate the views and the code that handle it. So a better way is to build a custom component that group views together to be reused.
Here, I will show you how to build the below example, in Kotlin (yeah, the first class language of Android!!) .. in case you…