I am JsonChao who is a developer from China.
- 公众号:微信内 🔍 JsonChao
- 知识星球:https://t.zsxq.com/0c2BL94Rc
- 掘金: https://juejin.cn/user/4318537403878167
- CSDN: https://blog.csdn.net/qq_20798591?type=blog
- 学习: 🌟🌟🌟🌟🌟
- 微信:bcce5360
:trophy:Explore Android performance optimization in depth(continuous updating ...)
License: Apache License 2.0
I am JsonChao who is a developer from China.
BroadcastReceiver 在 registerReceiver 时可以指定 handler,用于指定 onReceive 执行的线程,如果不设置 handler 的话默认是主线程,因此正常情况下 onReceive 确实是在主线程执行。当指定了非主线程来作为 onReceive 的执行线程,在这个线程如果 block 超过 timeout 时间的话,也会触发 ANR,这个经过实验验证过。BroadcastReceiver 相较其他三大组件比较特殊,可以指定执行线程,其他三大组件目前了解下来没有相关的方法,因此个人认为如果作为进阶读物的话,anr 这里关于 BroadcastReceiver 可能需要单独列一下比较好,避免有歧义。
这两个链接:
深入探索Android包体积优化(上)(已完成)
深入探索Android包体积优化(下)(已完成)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.