toggle menu
EzXHelper
androidJvm
switch theme
search in API
EzXHelper
/
com.github.kyuubiran.ezxhelper.misc
/
AndroidUtils
Android
Utils
object
AndroidUtils
Members
Properties
main
Handler
Link copied to clipboard
@
JvmStatic
val
mainHandler
:
Handler
runtime
Process
Link copied to clipboard
@
JvmStatic
val
runtimeProcess
:
Runtime
Functions
run
On
Main
Thread
Link copied to clipboard
@
JvmStatic
fun
runOnMainThread
(
runnable
:
Runnable
)
Post runnable on main thread.
show
Toast
Link copied to clipboard
@
JvmStatic
fun
Context
.
showToast
(
msg
:
String
,
length
:
Int
=
Toast.LENGTH_SHORT
)
@
JvmStatic
fun
Context
.
showToast
(
msg
:
String
,
vararg
args
:
Any
?
,
length
:
Int
=
Toast.LENGTH_SHORT
)
Show toast