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
App启动慢感受的典型问题及相应的优化策略? #117
Comments
都是刚刚答过阿里在线笔试的人儿啊= = |
发现友军哈哈哈 |
这不是阿里的在线笔试题么。。。 |
被阿里笔试的选择题虐哭,比下午的蘑菇街笔试题难太多了。 |
说一条,启动时黑屏一段时间,可以通过设启动Activity的主题背景来延缓这种感觉 |
延迟加载,按需加载,异步加载。 |
1、主题:同一个APP,使用不同的主题在启动的时候给人的感觉完全不一样,比如你给APP的主题设置为透明,其实仅仅是将之前会黑一下改为全透明而已,APP启动时间还是那么长,但给人的感官就完全不一样,因为一直显示同一个界面的时间太长; |
第一个启动的Activity的背景,和主题中window background 用同一张.9的图片 |
http://www.cnblogs.com/angeldevil/p/3801209.html |
请列举一些导致App启动慢感受的典型问题及相应的优化策略。
(例如:集中的文件内容清理操作,可通过『先标记,需读取时再更新』的方式加以优化)
The text was updated successfully, but these errors were encountered: