Skip to content

Instantly share code, notes, and snippets.

View iyaselerehoboth's full-sized avatar
🏠
Working from home

Rehoboth iyaselerehoboth

🏠
Working from home
View GitHub Profile
@iyaselerehoboth
iyaselerehoboth / OnButtonClick.java
Created November 1, 2019 09:08 — forked from anandwana001/OnButtonClick.java
Save image from network to external storage using Glide
#Step 1
Glide.with(mContext)
.load(images.get(position).getThumbnail())
.asBitmap()
.into(new SimpleTarget<Bitmap>(100,100) {
@Override
public void onResourceReady(Bitmap resource, GlideAnimation glideAnimation) {
saveImage(resource,position);
}
});