Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
markzhai committed Oct 5, 2015
1 parent 1d0c661 commit 6c8905a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Init [![Maven Central](https://maven-badges.herokuapp.com/maven-central/cn.zhaiyifan/init/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/cn.zhaiyifan/init)
Init helps Android apps schedule initialization with type, priority and multi-process (you know that every process will run application's onCreate), improves efficiency of initialization.
Init helps app schedule complex task-group like initialization with type, priority and multi-process (you know that every process will run application's onCreate), thus improves efficiency.

It is originally designed for application initialization, but not confined to that, it can be applied to any complex initialization procedure.
It is originally designed for application initialization, but not confined to that, and can be applied to any complex task-group(like initialization procedure).

The library does not depend on any third-party library, it depends on Android in the case of Context and Log, and mostly depends on Java concurrent.

It's named Init for the sake of its original inspiration.

[For Chinese 中文戳这里](https://github.com/markzhai/init/blob/master/README_CN.md)

# How

The initialization procedure is abstracted to flow, wave and task.
The task-group(like initialization procedure) can be abstracted to flow, wave and task.

![flow](art/flow.png "how it works")

Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Init [![Maven Central](https://maven-badges.herokuapp.com/maven-central/cn.zhaiyifan/init/badge.svg?style=flat)](https://maven-badges.herokuapp.com/maven-central/cn.zhaiyifan/init)
Init帮助Android应用调度初始化流程,处理类型、优先级、多进程(比如每个进程都会执行application的onCreate),任务依赖,提高应用启动效率。
Init帮助Android应用调度复杂的任务流(如应用初始化流程),如下一节图示的那种任务流,处理类型、优先级、多进程(像是每个进程都会执行application的onCreate),任务依赖,提高应用启动效率。

尽管Init设计的初衷是为了应用(application)初始化,但并不局限于此,它可以于应用在任何复杂的初始化流程。

Expand Down

0 comments on commit 6c8905a

Please sign in to comment.