@Override public void bindView(View view, Context context, Cursor cursor) { ViewHolder holder = (ViewHolder) view.getTag(); holder.person = DatabaseManager.toPerson(cursor, holder.person); holder.textView.setText(holder.person.getName()); }
@Override public Person getItem(int position) { return DatabaseManager.toPerson((Cursor) super.getItem(position)); }