1

Recycling view inside ListView in Android causes inconsistency

view story
linux-howto

http://stackoverflow.com – I'm using an ArrayAdapter for filling a ListView. The code I used for the getView is the following: public View getView(int position, View convertView, ViewGroup parent) { View rowView = convertView; if(rowView ==null){ LayoutInflater inflater = (LayoutInflater) context .getSystemService(Context.LAYOUT_INFLATER_SERVICE); rowView = inflater.inflate(R.layout.rowlayout_member, parent, false); } TextView tvName = (TextView) rowView.findViewById(R.id.label); TextView tvSurname = (TextView) rowView.findViewById(R.id.label1); ImageVie (HowTos)