2015年8月16日

AsyncTask的前世今生

摘要: AsyncTask,你从哪里来。。。。 阅读全文

posted @ 2015-08-16 21:58 熊猫观星 阅读(966) 评论(0) 推荐(0) 编辑

LayoutInflater.inflate源码分析

摘要: 基于Android 4.2.2做的分析parser里封装了layout的dom对象,从中可以获取各节点参数root为layout对应根节点的父节点,其作用见上述文档解释,需要注意一点的是,root的作用主要有两个:1.根据root的类型(RelativeLayout/LinearLayout),结合... 阅读全文

posted @ 2015-08-16 11:24 熊猫观星 阅读(568) 评论(0) 推荐(0) 编辑

Monkey捕获Crash原理

摘要: 使用monkey测试时发生崩溃后,monkehy_log中无记录,原因何在? 阅读全文

posted @ 2015-08-16 10:55 熊猫观星 阅读(971) 评论(0) 推荐(0) 编辑

java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification

摘要: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification, 这个问题比较常见,其产生的机制是如何的呢? 阅读全文

posted @ 2015-08-16 10:42 熊猫观星 阅读(1683) 评论(0) 推荐(0) 编辑

ContentProvider类的设计分析

摘要: ContentProvider的类设计很好,Transport作为成员存在,完成Binder的功能,有点像组合模式,把完成转发/通信功能 阅读全文

posted @ 2015-08-16 10:13 熊猫观星 阅读(330) 评论(0) 推荐(0) 编辑

ANR触发原理(what triggers ANR?)

摘要: 从源码纬度分析按键型ANR产生的原理,so, what triggers the f*king ANR? 阅读全文

posted @ 2015-08-16 00:25 熊猫观星 阅读(3281) 评论(2) 推荐(0) 编辑

Binder AIDL中自定义类型传递的源码分析

摘要: binder机制实现的IPC和共享内存的方式不同,它采取的是值拷贝的方式, 即进程间传递的实体遵循Parcelable协议,AIDL中如何传递自定义类型呢... 阅读全文

posted @ 2015-08-16 00:09 熊猫观星 阅读(345) 评论(0) 推荐(0) 编辑

导航