```<attr name="onClick" format="string" /> ...
# kotlin-native
r
Copy code
<attr name="onClick" format="string" />

android:onClick="@{() -> onClickEvent.invoke()}"
Please help me to understand how onClick accept the lamda function . how this () -> onClickEvent.invoke() convert to string
r
Maybe ask in #android. That looks like a data binding question, not Kotlin/Native
👍 1