Toast in Kotlin
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
parisima
Toast.makeText(applicationContext, "Hello", Toast.LENGTH_LONG).show()
Toast.makeText(this, "Sign in", Toast.LENGTH_LONG).show()
// Only for fragments
Toast.makeText(getContext(), "Your Message", Toast.LENGTH_SHORT).show()
Toast.makeText(this, ".....", Toast.LENGTH_SHORT).show
//Only for fragments
Toast.makeText(getContext(), "Your Message", Toast.LENGTH_SHORT).show()