Engine
/
com.drake.engine.databinding
/
DataBindingComponent
/
setVisibleOrGone
set
Visible
Or
Gone
@
JvmStatic
()
fun
View
.
setVisibleOrGone
(isVisible:
Boolean
)
Content copied to clipboard
隐藏控件
Parameters
isVisible
当为true则显示
View.VISIBLE
, 否则隐藏
View.GONE
@
JvmStatic
()
fun
View
.
setVisibleOrGone
(isVisible:
Any
?)
Content copied to clipboard
隐藏控件
Parameters
isVisible
当不为null则显示
View.VISIBLE
, 否则隐藏
View.INVISIBLE