📅  最后修改于: 2022-03-11 14:57:41.662000             🧑  作者: Mango
val text = "Hello toast!"
val duration = Toast.LENGTH_SHORT
val toast = Toast.makeText(applicationContext, text, duration)
toast.show()