I see. Thank you for the explaination <@U0BRK9HC5>
# android
a
I see. Thank you for the explaination @gildor
g
You can define own extension function for onClick that returns view or just use apply:
Copy code
textViewLogin = findViewById<TextView>(R.id.button_login).apply {
  setOnClickListener { 
     // It's fine
  }
}
a
I see. Now I clearly understand what's the different.
Thanks.