diff --git a/doric-android/doric/src/main/java/pub/doric/shader/ImageNode.java b/doric-android/doric/src/main/java/pub/doric/shader/ImageNode.java index d5f1dca7..dd6ebafb 100644 --- a/doric-android/doric/src/main/java/pub/doric/shader/ImageNode.java +++ b/doric-android/doric/src/main/java/pub/doric/shader/ImageNode.java @@ -249,7 +249,7 @@ public class ImageNode extends ViewNode { } } - private void loadImageUrl(String url) { + protected void loadImageUrl(String url) { Context context = DoricUtils.unwrap(getContext()); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { if (context instanceof Activity && ((Activity) context).isDestroyed()) { @@ -262,7 +262,7 @@ public class ImageNode extends ViewNode { } - private void loadIntoTarget(RequestBuilder requestBuilder) { + protected void loadIntoTarget(RequestBuilder requestBuilder) { try { requestBuilder = requestBuilder.apply(new RequestOptions().override(Target.SIZE_ORIGINAL)); if (isBlur) {