-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 新增队列事物执行器 QueueWorks,可通过 `.addWork(BaseActivityClass, QueueWorks)` 来为未启动的 BaseActivity 添加待执行事件,或者对已启动的 BaseActivity 添加依次执行事件,事件会在 BaseActivity 处于前台时执行; 添加事件也可以通过 `BaseActivity.runWork(BaseActivityClass, QueueWorks)` 来添加。 此外请注意,每执行完成一个事件后需要调用 QueueWorks 中的方法 `finishWork()` 才可以执行接下来的事件。 - 完善 QueueWorks 逻辑,提供 DEBUGMODE 日志开关以及 `cleanWorking(activityClass)` 清理执行中任务的逻辑。
- Loading branch information
Showing
3 changed files
with
43 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters