Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

kotlin toast.makeText non of 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 #arguments #supplied
ADD COMMENT
Topic
Name
3+4 =