July 2018
Intermediate to advanced
242 pages
8h 6m
English
In this recipe, we are going to explore the view-binding feature provided by the Kotlin Android Extensions plugin. It allows us to obtain references to View type elements declared in the XML layout files in an easy and robust way, without using the original findViewById() function. We are going to declare a TextView element in the Activity layout and obtain a reference to it in order to display a sample text in it.
Read now
Unlock full access