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

首次启动其他进程activity会有明显卡顿 #7

Open
Aicibg opened this issue Mar 11, 2017 · 1 comment
Open

首次启动其他进程activity会有明显卡顿 #7

Aicibg opened this issue Mar 11, 2017 · 1 comment

Comments

@Aicibg
Copy link

Aicibg commented Mar 11, 2017

你好,我在使用中遇到一个问题,就是在第一次启动另一个进程的activity过程中会有一个明显的卡顿,而且demo中也有这个问题,不知道有没有什么方法解决或者规避这个问题,毕竟这个卡顿很影响用户的体验,谢谢!

@SpinyTech
Copy link
Owner

您好,这个问题暂时没有办法规避,首次启动其他进程activity的时候,会先进行初始化,包括application以及进程间通信所需要的service,等这些都就绪之后,才可以调用,类似启动一个新的app启动。这块性能问题我会好好研究,争取做好优化。给你的建议是启动其他进程service之前预判用户的行为,提前后台启动,这样可能体验会好一点。

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