mirror of
https://github.com/alibaba/Tangram-Android.git
synced 2026-10-17 05:07:05 +08:00
update docs
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ Tangram是一个以卡片+组件灵活组合为基础的动态化框架,它基
|
||||
|
||||
# 特点
|
||||
|
||||
- Android iOS 双平台支持,iOS 版本参考开源库 [Tangram-iOS]()。
|
||||
- Android iOS 双平台支持,iOS 版本参考开源库 [Tangram-iOS](https://github.com/alibaba/Tangram-iOS)。
|
||||
- 通过 json 创建页面视图,并提供了默认的解析器。
|
||||
- 可轻松实现页面视图的回收与复用。
|
||||
- 框架提供多种默认的布局方式。
|
||||
|
||||
@@ -6,7 +6,7 @@ Tangram is a framework to build native page dynamically based on ```RecyclerView
|
||||
|
||||
# Features
|
||||
|
||||
- Two platform support (iOS & Android, See [Tangram-iOS]() in Github for iOS Version)
|
||||
- Two platform support (iOS & Android, See [Tangram-iOS]https://github.com/alibaba/Tangram-iOS() in Github for iOS Version)
|
||||
- Fast Generate View by JSON Data , provide default parser.
|
||||
- Easily control the reuseability of views
|
||||
- Provide multiple Built-in layouts
|
||||
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
|
||||
```
|
||||
// gradle
|
||||
compile 'com.tmall.android:tangram:1.0.0@aar'
|
||||
compile 'com.alibaba.android:tangram-core:1.0.0@aar'
|
||||
```
|
||||
|
||||
或者
|
||||
@@ -10,8 +10,8 @@ compile 'com.tmall.android:tangram:1.0.0@aar'
|
||||
```
|
||||
// maven
|
||||
<dependency>
|
||||
<groupId>com.tmall.android</groupId>
|
||||
<artifactId>tangram</artifactId>
|
||||
<groupId>com.alibaba.android</groupId>
|
||||
<artifactId>tangram-core</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<type>aar</type>
|
||||
</dependency>
|
||||
@@ -122,4 +122,4 @@ String json = new String(getAssertsFile(this, "data.json"));
|
||||
}
|
||||
```
|
||||
|
||||
完整页面的数据结构可参考 [Demo]() 里。
|
||||
完整页面的数据结构可参考 [Demo](https://github.com/alibaba/Tangram-Android/tree/master/examples) 里。
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
|
||||
```
|
||||
// gradle
|
||||
compile 'com.tmall.android:tangram:1.0.0@aar'
|
||||
compile 'com.alibaba.android:tangram-core:1.0.0@aar'
|
||||
```
|
||||
|
||||
or
|
||||
@@ -10,8 +10,8 @@ or
|
||||
```
|
||||
// maven
|
||||
<dependency>
|
||||
<groupId>com.tmall.android</groupId>
|
||||
<artifactId>tangram</artifactId>
|
||||
<groupId>com.alibaba.android</groupId>
|
||||
<artifactId>tangram-core</artifactId>
|
||||
<version>1.0.0</version>
|
||||
<type>aar</type>
|
||||
</dependency>
|
||||
@@ -122,4 +122,4 @@ String json = new String(getAssertsFile(this, "data.json"));
|
||||
}
|
||||
```
|
||||
|
||||
A complete data structure of a page could be found at [Demo]()'s asset。
|
||||
A complete data structure of a page could be found at [Demo](https://github.com/alibaba/Tangram-Android/tree/master/examples)'s asset。
|
||||
|
||||
Reference in New Issue
Block a user