-
Notifications
You must be signed in to change notification settings - Fork 784
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
2019-05-21:谈谈你对Android性能优化方面的了解? #58
Comments
我先,emmm,楼下的好好答题 |
不知道怎么性能优化 |
那我写几个作为开头把,从打开应用开始,启动页加快,电池耗电,流量,内存,启动页冷启动跟热启动,流量部门页面也可作缓存,耗电量自行查阅怕说的不标准,内存通过工具看看自己app就知道了,最后再说一个吧,资源释放,线程管理,布局的异步加载。 |
|
|
性能优化:
|
楼上说的很齐全,差不多就是内存优化,布局优化,电量优化,网络优化,算法优化而且可以利用as字带工具去检测代码。 |
1.布局优化:减少布局嵌套层级,如使用ConstraintLayout;多使用布局标签,如merge,ViewStub;做好文字大小适配; |
楼上都说的差不多了,这里加个奇技淫巧: |
打个卡 性能优化不存在的 跑起来就完事了 |
就是干 |
是啊,现在的手机要啥性能优化,要啥自行车 |
1布局优化 |
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
这是来自QQ邮箱的假期自动回复邮件。
您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。
|
No description provided.
The text was updated successfully, but these errors were encountered: