You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@weex.apache.org by zs...@apache.org on 2018/12/26 11:02:41 UTC

[incubator-weex-site] branch master updated: Update extend-android.md

This is an automated email from the ASF dual-hosted git repository.

zshshr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-weex-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 35e5f67  Update extend-android.md
35e5f67 is described below

commit 35e5f6753b8046942edc0ae509a427d958ffaeac
Author: zshshr <zh...@gmail.com>
AuthorDate: Wed Dec 26 19:02:37 2018 +0800

    Update extend-android.md
---
 source/cn/guide/extend-android.md | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/source/cn/guide/extend-android.md b/source/cn/guide/extend-android.md
index a615b0c..ec4d8bb 100644
--- a/source/cn/guide/extend-android.md
+++ b/source/cn/guide/extend-android.md
@@ -67,9 +67,7 @@ JS 调用如下:
   }
 </script>
 ```
-
-## 0.19.+ Component 扩展适配文档
-
+## Component 扩展(version > 0.19.0)
 ### 1. 变更说明
 WXDomObject 和 Layout 引擎被下沉到 WeexCore 中使用 C++ 实现,移除 Java 代码中的 WXDomObject。此次变更涉及 WXComponent 和 WXDomObject 的适配。
 
@@ -123,9 +121,7 @@ public float getLayoutHeight();
 public float getLayoutY();
 public float getLayoutX();
 ```
-
-
-## 低于0.19版本的 Component 扩展
+## Component 扩展(version< 0.19.0)
 
 1. Component 扩展类必须继承 WXComponent.
 2. Component 对应的设置属性的方法必须添加注解 @WXComponentProp(name=value(value is attr or style of dsl))
@@ -202,7 +198,7 @@ JS 调用如下:
 
 ## Adapter扩展
 
-图片下载:
+### 图片库Adapter
 
 需要时集成接口 IWXImgLoaderAdapter,实现 setImage 方法。