Loading Image from Server

To load image from server to image view use Glide its better than Picasso

Add fallowing dependency in build.gradle file

implementation 'com.github.bumptech.glide:glide:4.11.0'


To load Add below Code:

Glide.with(context).load(imagepath)
        .apply(RequestOptions.diskCacheStrategyOf(DiskCacheStrategy.ALL))
        .into(holder.addImage);


Sign In or Register to comment.