Home CheckBox Hiza Homes July 30, 2021 0 Methods of CheckBox classpublic boolean isChecked(): If CheckBox is in checked state then return true otherwise false.public void setChecked(boolean status): It changes the state of the CheckBox. Example of CheckBox<CheckBox android:id="@+id/checkBoxSave" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="Save for later" android:textSize="18sp" />
Post a Comment