use of greendroid.widget.itemview.ItemView in project GreenDroid by cyrilmottier.
the class ItemAdapter method getView.
public View getView(int position, View convertView, ViewGroup parent) {
final Item item = (Item) getItem(position);
ItemView cell = (ItemView) convertView;
if (cell == null) {
cell = item.newView(mContext, null);
cell.prepareItemView();
}
cell.setObject(item);
return (View) cell;
}
Aggregations