setInVisibility

open fun setInVisibility(@IdRes id: Int, isVisible: Boolean): View

设置视图的可见性 setVisibility

Return

View

Parameters

id

视图ID

isVisible

是否可见;true时设置为:VISIBLE;false时设置为:INVISIBLE