how to show toast from an activity class to fragment android studio code example
Example: how to make a toast in a fragment kotlin
Toast.makeText(activity, "Toast", Toast.LENGTH_SHORT).show()
Toast.makeText(activity, "Toast", Toast.LENGTH_SHORT).show()