August 8th, 2016 android热补丁资料收集 深度理解Android InstantRun原理以及源码分析 微信Android热补丁实践演进之路 用了超级补丁包技术,再也不用担心上线后不能修Bug了 Android Patch 方案与持续交付 Android N混合编译与对热补丁影响深度解析 Android 动态链接库加载原理及 HotFix 方案介绍
May 18th, 2016 android知识点收集 1.尽管 Message 的构造器是公开的,但是获取 Message 对象的最好方法是调用 Message.obtain() 或者 Handler.obtainMessage() ,这样是从一个可回收对象池中获取Message对象。看下源码 /** * Return a new Message instance from the global pool. Allows us to * avoid allocating new objects in many cases. */ public static Message obtain() { synchronized (sPoolSync) { if (sPool != null) { Message m = sPool; sPool = m.next; m.next = null; m.flags = 0; // clear in-use flag sPoolSize--; return m; } } return new Message(); }