July 2018
Intermediate to advanced
242 pages
8h 6m
English
As the result, the MainActivity class is going to display a greeting inside TextView:

Under the hood, the Android Extensions plugin has generated extension properties for the MainActivity class for each of the View elements declared in the activity_main.xml file. The generated properties have the same names as the IDs of their corresponding layout elements.
Compared to the standard way of obtaining references to View classes using the findViewById(): View function, the Android Extensions binding mechanism is much cleaner and more painless. It is also safe and robust as it does not require casting the View type to specific subclasses, ...
Read now
Unlock full access