SimpleToast

Simple Toast.

Since

0.5.3

Types

Link copied to clipboard
annotation class Duration

Properties

Link copied to clipboard
private var mToast: Toast?

Functions

Link copied to clipboard
private fun makeToast(context: Context, msg: String, duration: Int)

Make toast

Link copied to clipboard
fun showLongMsg(@StringRes id: Int, context: Context = ContextHelper.getAppContext())
fun showLongMsg(msg: String, context: Context = ContextHelper.getAppContext())
Link copied to clipboard
fun showShortMsg(@StringRes id: Int, context: Context = ContextHelper.getAppContext())
fun showShortMsg(msg: String, context: Context = ContextHelper.getAppContext())
Link copied to clipboard
private fun showToast(context: Context, msg: String, duration: Int)

Show toast