1

How to change list item data when clicked on a sub view

view story
linux-howto

http://stackoverflow.com – holder.voteUp.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { final int position = myList.getPositionForView((View) v .getParent()); final ListItem li = values.get(position); li.voteUp_value = true; //In getView(), I set different image to holder.voteUp ImageView depending on this value. //Hence I call notifyDataSetChanged(); which takes care of it. notifyDataSetChanged(); } }); But the problem is, Since the whole list is notified, it flickers every time I vote. I cannot cha (HowTos)