toast androoid kotlin code example
Example 1: toast in kotlin
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Example 2: kotlin toast.maketext
Toast.makeText(this, ".....", Toast.LENGTH_SHORT).show
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Toast.makeText(this, ".....", Toast.LENGTH_SHORT).show