Code example for ActionMode

Methods: finish

0
	} 
 
	protected void executeContentDeleteTask() { 
		ArrayList<Object> content = listAdapter.getCheckedItems();
 
		contentActionMode.finish();
 
		ContentDeleteTask documentDeleteTask = new ContentDeleteTask(content);
		documentDeleteTask.execute();
	} 
 
	protected void deleteContent() { 
		if (SettingsUtilities.getConfirmDeletePreference(context)) {
			showDeleteContentDialog(); 
		} else { 
			executeContentDeleteTask(); 
		} 
	} 
 
	protected void showDeleteContentDialog() { 
		AlertDialog.Builder alertDialogBuilder = DialogUtitities.getAlertDialogBuilderWithMessageAndTitle(context,