Toast w Kotlin
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
parisima
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
val text = "Hello toast!"
val duration = Toast.LENGTH_SHORT
val toast = Toast.makeText(applicationContext, text, duration)
toast.show()
Toast in Kotlin