Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Load image from url to Recyclerview

I have an app that loads content from a database as well as images from the internet. I am using a RecyclerView along with CardView to display my content in a list form.

Each row has an image on the left side and text on the right. The problem is that the text loads fast but the image takes time to load, so I want the image to continue loading in the background and then load into the ImageView object once loading is complete. I have no idea how to tackle this.

like image 556
spongyboss Avatar asked Jun 17 '15 16:06

spongyboss


1 Answers

I use Picasso for this situation, but u can also use Glide and many more libraries. The documentation is pretty simple.

like image 97
EE66 Avatar answered Dec 23 '22 09:12

EE66