toggle menu
EzXHelper
androidJvm
switch theme
search in API
EzXHelper
/
com.github.kyuubiran.ezxhelper.misc
/
ViewUtils
/
getIdByName
get
Id
By
Name
@
JvmStatic
fun
getIdByName
(
name
:
String
,
type
:
String
=
"id"
,
ctx
:
Context
=
EzXHelper.appContext
)
:
Int
Get the id by name
Return
id or 0 if not found
Parameters
name
R.
type
.
name