Answers for "show toast android kotlin"

3

toast in kotlin

Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Posted by: Guest on November-02-2020
15

java android show toast

Toast myToast = Toast.makeText(this, "I'm a toast!", Toast.LENGTH_LONG);
myToast.show();
Posted by: Guest on May-13-2020
0

toast in kotlin

Toast.makeText(this, "Sign in", Toast.LENGTH_LONG).show()
Posted by: Guest on March-13-2021
0

toast kotlin

val text = "Hello toast!"
val duration = Toast.LENGTH_SHORT

val toast = Toast.makeText(applicationContext, text, duration)
toast.show()
Posted by: Guest on October-19-2021

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language