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