Code example for SparseBooleanArray

Methods: clear

		public void onDestroyActionMode(ActionMode arg0) {
			isChoiceMode = false;
		public void onItemCheckedStateChanged(ActionMode mode, int position,
				long id, boolean checked) {
			 itemsState.put(position, checked);
			 super.onItemCheckedStateChanged(mode, position, id, checked);
		public void doPositiveButton() { 
			List<Long> feedIds = new ArrayList<Long>();
			for(int i = 0; i < itemsState.size(); ++i){
				int position = itemsState.keyAt(i);
Connect your IDE to all the code out there  Get Codota for Java