Repository: incubator-weex-site
Updated Branches:
  refs/heads/master 8644c4215 -> 740f8fc6d


update android registerComponent RichText doc.


Project: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-weex-site/commit/740f8fc6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/tree/740f8fc6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-weex-site/diff/740f8fc6

Branch: refs/heads/master
Commit: 740f8fc6d160d12154eaa4503f26feabfeee5cdd
Parents: 8644c42
Author: jerry....@yingzt.com <jerry....@yingzt.com>
Authored: Tue Feb 13 11:36:16 2018 +0800
Committer: jerry....@yingzt.com <jerry....@yingzt.com>
Committed: Tue Feb 13 11:36:16 2018 +0800

----------------------------------------------------------------------
 source/cn/guide/extend-android.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-weex-site/blob/740f8fc6/source/cn/guide/extend-android.md
----------------------------------------------------------------------
diff --git a/source/cn/guide/extend-android.md 
b/source/cn/guide/extend-android.md
index 7c42754..bae1ca0 100644
--- a/source/cn/guide/extend-android.md
+++ b/source/cn/guide/extend-android.md
@@ -72,7 +72,7 @@ JS 调用如下:
 2. Component 对应的设置属性的方法必须添加注解 
@WXComponentProp(name=value(value is attr or style of dsl))
 3. Weex sdk 通过反射调用对应的方法,所以 Component 
对应的属性方法必须是 
public,并且不能被混淆。请在混淆文件中添加代码  `-keep 
public class * extends com.taobao.weex.ui.component.WXComponent{*;}`
 4. Component 扩展的方法可以使用 int, double, float, String, Map, List 
类型的参数
-5. 完成 Component 后一定要在初始化时注册 
`WXSDKEngine.registerComponent("richtext",RichText.class);`
+5. 完成 Component 后一定要在初始化时注册 
`WXSDKEngine.registerComponent("richText",RichText.class);`
 
 示例如下:
 

Reply via email to