setCheckedImmediately

public void setCheckedImmediately(boolean isChecked)

立即设置 switch 按钮选择状态,没有动画

Parameters

isChecked