Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 3267,3270c3306,3310
- < // Clear the old value: if something was selected and value == false
- < // then it is unselected
- < mCheckStates.clear();
- < // If value == true, select the appropriate position
- ---
- > // Clear all values if we're checking something, or unchecking the currently
- > // selected item
- > if (value || isItemChecked(position)) {
- > mCheckStates.clear();
- > }
Advertisement
Add Comment
Please, Sign In to add comment