JetPack Compose Text 实现点击事件 clic
2023-02-08 本文已影响0人
Alone_vv
Text(
text = "text",
modifier = Modifier
.clickable {
Log.i("click", "点击到我了")
}
)
Text(
text = "text",
modifier = Modifier
.clickable {
Log.i("click", "点击到我了")
}
)