ktx-androidx
4.0.2
ktx-androidx
/
com.ayvytr.ktx.context
/
toastLong
toast
Long
fun
Context
.
toastLong
(
text
:
String
)
Content copied to clipboard
显示Toast,时长
Toast.LENGTH_LONG
Parameters
text
要显示的文本
fun
Context
.
toastLong
(
@
StringRes
textId
:
Int
)
Content copied to clipboard
显示Toast,时长
Toast.LENGTH_LONG
Parameters
text
Id
要显示的字符串资源id
fun
Fragment
.
toastLong
(
text
:
String
)
Content copied to clipboard
fun
Fragment
.
toastLong
(
@
StringRes
textId
:
Int
)
Content copied to clipboard