I have recyclerview that contains image.
@Override public void onBindViewHolder(ViewHolder viewHolder, final int position) { // Get element from your dataset at this position and replace the contents of the view // with that element if(mEntities.get(position).url.equals("kosong")) { Log.e("LOAD", "KOSONG " + position); viewHolder.getTextDataView().setText(mEntities.get(position).data); } else{ Log.e("LOAD", "ISI " + position); Picasso.with(mContext).load(mEntities.get(position).url).skipMemoryCache().into(viewHolder.imageView); viewHolder.getTextDataView().setText(mEntities.get(position).data); } } Im success to make the image loaded to recyclerview in correct list, but somehow it duplicate in another list in that recyclerview. Why ?
Thanks for your answer :)