toast displayed only once kotlin code example
Example 1: toast in kotlin
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Example 2: toast in kotlin
Toast.makeText(this, "Sign in", Toast.LENGTH_LONG).show()
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Toast.makeText(this, "Sign in", Toast.LENGTH_LONG).show()