HVEndlessRecyclerView icon indicating copy to clipboard operation
HVEndlessRecyclerView copied to clipboard

problem with glide and picasso

Open abbasalim opened this issue 8 years ago • 2 comments

hello, i use Glide.with(CONtext).load(ExtraMthd.UPLOADURL + "news/" + prd.id + "/hdr_" + prd.id + ".jpg").asBitmap().placeholder(R.mipmap.no_wifi).into(banner); in convert but when scroll down and up, image load with a long time to show image

abbasalim avatar Feb 02 '17 18:02 abbasalim

Have you try to use Recyclerview in your project with same problem???

HelloVass avatar Feb 04 '17 06:02 HelloVass

` @Override protected void convert(BaseRecyclerViewHolder holder, final Sh_news prd, int viewType, final int position) { TextView title = holder.getView(R.id.title); TextView desc = holder.getView(R.id.desc); ImageView edit = holder.getView(R.id.edit); ImageView delete = holder.getView(R.id.delete); ImageView banner = holder.getView(R.id.banner); TextView draft = holder.getView(R.id.draft); ((ImageView) holder.getView(R.id.date_ic)).setImageDrawable(new IconDrawable(CONtext, FontAwesomeIcons.fa_calendar).colorRes(R.color.colorPrimary));

    title.setText(prd.title);
    desc.setText(prd.date + "\t-\t" + prd.time);
    Glide.with(CONtext).load(ExtraMthd.UPLOAD + "news/" + prd.id + "/hdr_" + prd.id + ".jpg").asBitmap().placeholder(R.mipmap.no_wifi).into(banner);

    }
}

`

abbasalim avatar Feb 04 '17 08:02 abbasalim