Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问什么场景下会需要在Application.onCreate中必须执行完的任务? #5

Closed
JackyAndroid opened this issue Sep 30, 2019 · 3 comments

Comments

@JackyAndroid
Copy link

No description provided.

@JackyAndroid
Copy link
Author

这个库和alpha主要的区别,应该就是在onCreate中可以设置锚点任务。
但有什么样的场景需要有这样一个依赖任务链条在onCreate中必须完成的?

@YummyLau
Copy link
Collaborator

这个库和alpha主要的区别,应该就是在onCreate中可以设置锚点任务。
但有什么样的场景需要有这样一个依赖任务链条在onCreate中必须完成的?

我们项目是组件化的,每个组件的依赖相对独立,有部分模块需要在onCreate中初始化,同时,有部分组件的依赖初始化支持在onCreate之前并发,这个库不仅仅支持锚点,也支持同异步任务构成链。

@JackyAndroid
Copy link
Author

恩了解

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants