Jojo Jojo - 16 days ago 15
Android Question

Android NetworkImageView disappear in RecyclerView after Scrolling list (Volley)

Am using

NetworkImageView
with volley librry and
RecyclerView
. After scrolling list some images disappear from the
NetworkImageView
. I am writing my code in
onBindViewHolder()
method inside the in Adapter class. And code is given below:

pvh1.imgmovie.setDefaultImageResId(R.drawable.banner);
pvh1.imgmovie.setImageUrl("image_url", imageLoader);`

Answer

I do not know NetworkImageView but I advise you to use Picasso to download images from the web, it's great! Use it with a normal ImageView!

Picasso.with(context).load(image_url).into(image_view);

https://github.com/square/picasso