Just use the internal variable `itemView` to refer...
# android
s
Just use the internal variable
itemView
to refer to the view while making changes
k
Don’t do this. It will use
findViewById
every time, which can be quite expensive Here’s what you want to do instead: https://kotlinlang.org/docs/tutorials/android-plugin.html#layoutcontainer-support
s
Ah, I wasn’t aware. Thanks for the heads-up!
👍 1