Code example for SparseBooleanArray

Methods: clear

0
		} 
		 
		@Override 
		public void onDestroyActionMode(ActionMode arg0) {
			isChoiceMode = false;
			itemsState.clear();
		} 
		 
		@Override 
		public void onItemCheckedStateChanged(ActionMode mode, int position,
				long id, boolean checked) {
			 itemsState.put(position, checked);
			 super.onItemCheckedStateChanged(mode, position, id, checked);
		} 
 
		@Override 
		public void doPositiveButton() { 
			List<Long> entryIds = new ArrayList<Long>();
			for(int i = 0; i < itemsState.size(); ++i){
				int position = itemsState.keyAt(i);
				Entry entry = ((Entry)getListAdapter().getItem(position));