toast android studio kotlin code example
Example 1: toast in kotlin
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Example 2: toast code in android studio
Toast toast = Toast.makeText(this, "message", Toast.LENGTH_LONG;);
toast.show();