I had the same problem and I was able to solve it like this:
In fact, this was due to my ListAdapter , which did not cope properly with when the whole list was updated. If so, then you want to save the elements that are already displayed on the screen as is.
To do this, in the adapterโs getView method, when you get the recycled item, you need to check if it is the one you want to display. If so, just return it directly.
@Override public View getView(int position, View convertView, ViewGroup container) { ImageView imageView; String src = this.getItem(position).getSrcThumbnail(); if (convertView == null) { imageView = new ImageView(getContext()); imageView.setScaleType(ImageView.ScaleType.CENTER_CROP); int height = (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 120, getResources().getDisplayMetrics()); imageView.setLayoutParams(new GridView.LayoutParams(GridView.LayoutParams.MATCH_PARENT, height)); } else { imageView = (ImageView) convertView;
Kalvn
source share