Skip to content

Commit

Permalink
version 0.1.9.8
Browse files Browse the repository at this point in the history
prerelease
  • Loading branch information
gonojuarez committed Sep 27, 2021
1 parent 17290bd commit ace8b40
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,10 @@ public Object loadDrawable(@Nullable Object model, ImageView imageView) {
return this;
}

public void clearView(ImageView imageView){
Glide.with(mContext).clear(imageView);
}

/**
* scale option method
* 0 default value
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,10 @@ public void selectIcon(){

}

@Override
public void destroyDrawingCache() {
super.destroyDrawingCache();
if(glideAttatcher!=null)
glideAttatcher.clearView(icon);
}
}

0 comments on commit ace8b40

Please sign in to comment.