05 2016 档案

摘要:问题引出: Android developer都写过AlertDialog,用法是先new 一个builder,然后往builder里设置属性的值,最后调用build得到类实例,完成抽象出来的类的实例化。 一个类的实例化为什么不是简单的new 对象,为什么要使用这种builder模式去build呢? 阅读全文
posted @ 2016-05-20 12:13 shougao 阅读(4254) 评论(0) 推荐(0)
摘要:AndroidStudio比Eclipse + adt好用的多,放弃eclipse debug framework,使用AS。 Import 工程方法: 1. build AOSP 2. build idegen: {AOSP root}/ make idegen & development/too 阅读全文
posted @ 2016-05-19 11:05 shougao 阅读(539) 评论(0) 推荐(0)
摘要:Multidex, 65K 阅读全文
posted @ 2016-05-18 18:16 shougao 阅读(2522) 评论(0) 推荐(0)