Escalar Alcoia i Comtat
core
/
com.arnyminerz.escalaralcoiaicomtat.core.utils
/
toast
toast
@
UiThread
fun
Context
.
toast
(
text
:
String
,
duration
:
Int
=
Toast.LENGTH_SHORT
)
@
UiThread
fun
Context
.
toast
(
@
StringRes
text
:
Int
,
duration
:
Int
=
Toast.LENGTH_SHORT
)
@
UiThread
fun
toast
(
context
:
Context
?
,
@
StringRes
text
:
Int
)
:
Unit
?
@
UiThread
fun
toast
(
context
:
Context
?
,
@
StringRes
text
:
Int
,
vararg
args
:
Any
)
:
Unit
?
@
UiThread
fun
toast
(
context
:
Context
?
,
text
:
String
)
:
Unit
?
@
UiThread
fun
Fragment
.
toast
(
@
StringRes
text
:
Int
)
:
Unit
?