Use view object

Report a typo

We already have the following UI element:

<TextView
    android:id="@+id/my_text_"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

Set this text box to "I love view binding". The object of the binding is called binding. Try it in Android Studio.

Enter a short text
___

Create a free account to access the full topic