Code example for LinkedHashSet

Methods: addAll

0
 
	protected void selectAll() { 
		if (this.fitems != null) {
			this.result.addAll(this.fitems);
		} else { 
			this.result.addAll(this.items);
		} 
		this.adapter.notifyDataSetChanged();
	} 
 
	@SuppressWarnings("unchecked") 
	protected ArrayAdapter<Object> configureAdapter(final Context context,
			ListView listView, List<? extends Object> items) {
		this.doSort(items);
		final ArrayAdapter<Object> adapter = new ArrayAdapter<Object>(context,
				android.R.layout.simple_list_item_multiple_choice,
				listView.getId(), (List<Object>) items) {
			@Override 
			public View getView(int position, View convertView, ViewGroup parent) {
				// if (convertView == null) 
				// {