how to download an image into a bitmap using the glide library in android

Glide.with(CurrentContext)
.load("url to image online saved")
.asBitmap()
.into(new SimpleTarget() {
@Override
public void onResourceReady(Bitmap retrivedbitmap, GlideAnimation glideAnimation) {
MyBitmapObj=bitmap;
}
});


 How does one use glide to download an image into a bitmap? 

No comments:

Post a Comment

Popular Posts