android - 如何在 Kotlin 中声明变量?我收到“未解决的参考”
解决方案
start_button
您永远不会为点击侦听器“关闭” lambda 。添加右花括号}
:
...
text_id.text = "my text"
} // <- this one's missing
start_button
您永远不会为点击侦听器“关闭” lambda 。添加右花括号}
:
...
text_id.text = "my text"
} // <- this one's missing