Code example for CheckedTextView

Methods: setBackgroundColor

0
		public void setTag(String tag) {
			titleView.setTag(tag);
		} 
 
		public void setBackgroundColor(int color) {
			titleView.setBackgroundColor(color);
		} 
 
	} 
 
	@Override 
	public View getView(int position, View convertView, ViewGroup parent) {
		ViewHolder holder;
		if (convertView == null) {
			convertView = LayoutInflater.from(context).inflate(R.layout.single_tasque_row, null);
			holder = new ViewHolder();
			holder.titleView = (CheckedTextView) convertView.findViewById(R.id.single_tasque_row_checked_title);
			holder.dateView = (TextView) convertView.findViewById(R.id.single_tasque_row_date);
			holder.dueDateView = (TextView) convertView.findViewById(R.id.single_tasque_row_due_date);
			convertView.setTag(holder);
		} else {