kotlin making a toast to show a int 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