setSelected

open fun setSelected(@IdRes id: Int, selected: Boolean): View

设置是否选择 setSelected

Return

View

Parameters

id

视图ID

selected

是否选择