|
|
@ -258,10 +258,14 @@ public class SherlockListView extends ListView { |
|
|
|
if (child instanceof Checkable) { |
|
|
|
if (child instanceof Checkable) { |
|
|
|
((Checkable) child).setChecked(getCheckedItemPositions().get(position)); |
|
|
|
((Checkable) child).setChecked(getCheckedItemPositions().get(position)); |
|
|
|
} else if (useActivated) { |
|
|
|
} else if (useActivated) { |
|
|
|
|
|
|
|
// TODO: Investigate the impact of this hack fix
|
|
|
|
|
|
|
|
// (API level < 11 devices still get to this code point when clicking teh CAB done button)
|
|
|
|
|
|
|
|
if (android.os.Build.VERSION.SDK_INT > 11) { |
|
|
|
child.setActivated(getCheckedItemPositions().get(position)); |
|
|
|
child.setActivated(getCheckedItemPositions().get(position)); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public ActionMode startActionMode(ActionMode.Callback callback) { |
|
|
|
public ActionMode startActionMode(ActionMode.Callback callback) { |
|
|
|
if (actionMode != null) { |
|
|
|
if (actionMode != null) { |
|
|
|