Skip to content

Toast Overview

SimpleToast provides simple feedback about an operation in a small popup. It only fills the amount of space required for the message and the current activity remains visible and interactive. Toasts automatically disappear after a timeout.

Toast

Toast

Long Toast

Add: Version 0.5.3

Long toast

SimpleToast.showLongMsg("Hello", this) // use characters directly
SimpleToast.showLongMsg(R.string.app_name, this) // use str id
SimpleToast.showLongMsg("Hello", this) // use characters directly
SimpleToast.showLongMsg(R.string.app_name, this) // use str id

Short Toast

Add: Version 0.5.3

Short toast

SimpleToast.showShortMsg("Hello", this) // use characters directly
SimpleToast.showShortMsg(R.string.app_name, this) // use str id
SimpleToast.showShortMsg("Hello", this) // use characters directly
SimpleToast.showShortMsg(R.string.app_name, this) // use str id