code: @SuppressLint("ViewHolder")
  	public View getView(int position, View convertView, ViewGroup parent) {
  		LayoutInflater inflater = ((Activity) getContext()).getLayoutInflater();
  		View row = inflater.inflate(R.layout.listitem_row, parent, false);
  
  		ImageView imageView = (ImageView) row.findViewById(R.id.color);
  		imageView.setImageDrawable(resourceIds[position].toString().contains(
  				"#") ? new ColorDrawable(Color.parseColor(resourceIds[position]
  				.toString())) : new ColorDrawable(Color.parseColor("#"
  				+ resourceIds[position].toString())));
  
  		CheckedTextView checkedTextView = (CheckedTextView) row
  				.findViewById(R.id.check);
  		checkedTextView.setText(getItem(position));
  
  		if (position == index)
  			checkedTextView.setChecked(true);
  
  		return row;
  	}
docs: {@inheritDoc}