In different Kotlin examples for Android I see toast("Some message...") or toastLong("Some long message"). For example:
toast("Some message...")
toastLong("Some long message")
Show a Toast not from the UI Thread, in a Fragment
activity?.runOnUiThread { Toast.makeText(context, "Image saved to the Gallery", Toast.LENGTH_SHORT).show() }