Skip to content

Commit

Permalink
Update doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhi1ong committed Feb 21, 2017
1 parent f75b278 commit 6bd2098
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ dependencies {
6. Mapping relationships is managed by type/level which reduces the memory consumption and improve the query performance. (*)
7. Support designating global fallback strategy.
8. Activitys/interceptors/services do not need to register to ARouter expilicitly, they are discovered automatically.
9. Full Ioc support, field can be autowired.

#### Ⅱ. Unsupport Feature
1. Customize URL resolving stratety(considering)
Expand Down
5 changes: 5 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dependencies {
6. 映射关系按组分类、多级管理,按需初始化,减少内存占用提高查询效率(*)
7. 支持用户指定全局降级与局部降级策略
8. 被ARouter管理的页面、拦截器、服务均无需主动注册到ARouter
9. 页面参数以及服务均可以自动注入,无需主动获取

#### 二、不支持的功能
1. 自定义URL解析规则(考虑支持)
Expand Down Expand Up @@ -328,6 +329,10 @@ dependencies {
这样就可以告别各种乱七八糟的依赖关系的梳理,只要能调用到这个service,那么这个service中所包含的sdk等就已经被初始化过了,完全不需要
关心各个sdk的初始化顺序。

11. 控制反转的支持

ARouter现已经全面支持Ioc特性,可以通过依赖注入(DI)或者依赖查找的方式获取Intent参数以及服务,大幅度减少开发工作量,合理运用Service,可以达到替换Dagger框架的效果。

#### 六、更多功能

1. 初始化中的其他设置
Expand Down

0 comments on commit 6bd2098

Please sign in to comment.