showToast

fun showToast(text: String, duration: ToastView.Duration)

Shows a message and than hides itself

Parameters

text

text of the message

duration

delay after which the view will be hidden