Github user Rowandjj commented on a diff in the pull request:
https://github.com/apache/incubator-weex/pull/82#discussion_r105328773
--- Diff:
android/sdk/src/main/java/com/taobao/weex/ui/component/WXImage.java ---
@@ -291,10 +291,18 @@ protected boolean setProperty(String key, Object
param) {
String src = WXUtils.getString(param, null);
if (src != null)
setSrc(src);
+ this.mSrc = src;
return true;
case Constants.Name.IMAGE_QUALITY:
return true;
case Constants.Name.FILTER:
+ int blurRadius = 0;
+ if(param != null && param instanceof String) {
+ blurRadius = WXUtils.getBlurRadius((String) param);
+ }
+ if(!TextUtils.isEmpty(this.mSrc)) {
+ setBlurRadius(this.mSrc,blurRadius);
--- End diff --
1. ç°å¨çblurè®¡ç®æ¯äº¤ç»ImageListeneræ¥åç, weex
sdkèªèº«å¹¶æ²¡æblurçè½å;
2. å¾çåºèªèº«ä¼æç¼åï¼å¹¶ä¸ä¼éæ°ä¸è½½å¾ç
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---