toast maketext None of the following functions can be called with the arguments supplied. code example
Example: 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...