toggle menu
Android-Vast-Extension
androidJvm
switch theme
search in API
tools
/
com.ave.vastgui.tools.view.toast
/
SimpleToast
Simple
Toast
object
SimpleToast
Simple Toast.
Since
0.5.3
Members
Types
Duration
Link copied to clipboard
annotation class
Duration
Properties
m
Toast
Link copied to clipboard
private
var
mToast
:
Toast
?
Functions
make
Toast
Link copied to clipboard
private
fun
makeToast
(
context
:
Context
,
msg
:
String
,
duration
:
Int
)
Make toast
show
Long
Msg
Link copied to clipboard
@
JvmStatic
@
JvmOverloads
fun
showLongMsg
(
@
StringRes
id
:
Int
,
context
:
Context
=
ContextHelper.getAppContext()
)
@
JvmStatic
@
JvmOverloads
fun
showLongMsg
(
msg
:
String
,
context
:
Context
=
ContextHelper.getAppContext()
)
show
Short
Msg
Link copied to clipboard
@
JvmStatic
@
JvmOverloads
fun
showShortMsg
(
@
StringRes
id
:
Int
,
context
:
Context
=
ContextHelper.getAppContext()
)
@
JvmStatic
@
JvmOverloads
fun
showShortMsg
(
msg
:
String
,
context
:
Context
=
ContextHelper.getAppContext()
)
show
Toast
Link copied to clipboard
private
fun
showToast
(
context
:
Context
,
msg
:
String
,
duration
:
Int
)
Show toast