Wrong image show up in my ListView rows

后端 未结 3 1794
孤街浪徒
孤街浪徒 2020-12-10 06:46

I use this code in my getView:

@Override
public View getView(int position, View convertView, ViewGroup parent) {
    View v = convertView;
    if (v == null)         


        
3条回答
  •  旧时难觅i
    2020-12-10 07:36

    If you stop using the convertView you get (which you absolutely should), and generate a whole new View to return every time, does it work right? I think the problem is in the way you reuse the views.

提交回复
热议问题