I'm trying to do View Binding in Kotlin and fragments.
val button: Button = view.findViewById(R.id.Rutton)
button.setOnClickListener{
//do something here.
}
but when it has many objects. I need to define that. So I had to look at:
Kotlin Android View Binding: findViewById vs Butterknife vs Kotlin Android Extension
and
Android developers documentation DataStore Overview: View Binding
but I can't find ResultProfileBinding
in my Android Studio
What can I do in my program?