getView() position is repeating in BaseAdapter -Android

筅森魡賤 提交于 2019-12-06 06:18:19

I'm not sure it will fix the issue, but I'd suggest to always use Picasso, including the case of the 'Kiss' cards, because it has its own way to handle cancellation of image download in case of view recycling (see https://square.github.io/picasso/ for more details)

That can be done by replacing

holder.cardIcon.setImageResource(R.drawable.logo);

by

Picasso.load(R.drawable.logo).into(holder.cardIcon);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!