Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Kotlin Toast : error-none-of-the-following-functions-can-be-called-with-the-arguments-supplied

//In Activity use: 
Toast.makeText(this@YOUR_ACTIVITY_NAME, "your message", Toast.LENGTH_LONG).show()
    
//In Fragments use: 
Toast.makeText(requireActivity(), "your message", Toast.LENGTH_LONG).show()
 
Your problem will be solved...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Kotlin #Toast
ADD COMMENT
Topic
Name
6+4 =