Skip to content

Commit

Permalink
Resize增加加载本地图片方法
Browse files Browse the repository at this point in the history
  • Loading branch information
BzCoder committed Jun 25, 2019
1 parent 78e1a7d commit 5de44f2
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ public static void loadResizeXYImage(Context context, String url, int resizeX, i
loadResizeXYImage(context, url, resizeX, resizeY, imageView, placeHolderImageView);
}

/**
* 加载本地图片
* @param context
* @param drawableId
* @param resizeX
* @param resizeY
* @param imageView
*/
public static void loadResizeXYImage(Context context, @RawRes @DrawableRes @Nullable Integer drawableId, int resizeX, int resizeY, ImageView imageView) {
loadImage(context,
GlideConfigImpl
Expand Down

0 comments on commit 5de44f2

Please sign in to comment.