[Android Kotlin 기초] 3-4. Data binding basics

03.4:Data binding basics

Created: Apr 1, 2021 12:03 PM link: https://developer.android.com/codelabs/kotlin-android-training-data-binding-basics?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fkotlin-fundamentals-three%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fkotlin-android-training-data-binding-basics#0

Introduction

resource/viewbinding_io19.png

Question 1

Why do you want to minimize explicit and implicit calls to findViewById()?

Question 2

How would you describe data binding?

For example, here are some things you could say about data binding:

Question 3

Which of the following is NOT a benefit of data binding?

Question 4

What is the function of the <layout> tag?

Question 5

Which is the correct way to reference bound data in the XML layout?

→ android:text=”@={myName.name}”