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?
.asBitmap()
.into(new SimpleTarget
@Override
public void onResourceReady(Bitmap retrivedbitmap, GlideAnimation glideAnimation) {
MyBitmapObj=bitmap;
}
});
No comments:
Post a Comment