Search in sources :

Example 1 with TagInfo

use of com.androidwind.annotation.annotation.TagInfo in project AndroidQuick by ddnosh.

the class SearchAdapter method getView.

@Override
public View getView(int position, View convertView, ViewGroup parent) {
    TagInfo tagInfo = getItem(position);
    if (null == convertView) {
        holder = new ViewHolder();
        convertView = LayoutInflater.from(mContext).inflate(mResourceId, null);
        holder.text1 = convertView.findViewById(android.R.id.text1);
        convertView.setTag(holder);
    } else {
        holder = (ViewHolder) convertView.getTag();
    }
    holder.text1.setText(tagInfo.getDescription());
    return convertView;
}
Also used : TagInfo(com.androidwind.annotation.annotation.TagInfo)

Aggregations

TagInfo (com.androidwind.annotation.annotation.TagInfo)1