You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by GitBox <gi...@apache.org> on 2019/03/26 08:47:45 UTC
[GitHub] [incubator-weex] YorkShen commented on issue #2211: android 0.20.0.1 component扩展设置自定义属性时,部分属性不生效
YorkShen commented on issue #2211: android 0.20.0.1 component扩展设置自定义属性时,部分属性不生效
URL: https://github.com/apache/incubator-weex/issues/2211#issuecomment-476528019
感谢你的反馈,Weex目前是隶属于Apache Software Foundation的项目,因此在Gtihub渠道我们鼓励使用英文反馈问题。下面我将使用Google Trasnlate将你的问题翻译成英语,并以英语回答。
> Question Description: Android 0.20.0.1 component extension set custom properties, some properties can not respond to the update data, can only be obtained when the component is initialized, hit a breakpoint in android studio, did not go to the breakpoint.
If I am right, the index in your java code is String, but this is not true in your JS code.
You can override `component.setProperty(String key, Object param)` to solve the problem.
Ref [WXText](https://github.com/apache/incubator-weex/blob/5a52f042acd357d763d76c88a5a993e9c33e43ad/android/sdk/src/main/java/com/taobao/weex/ui/component/WXText.java#L136
) for detail.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services