摘要:
1.内存泄露的本质是什么呢就是长生命周期的对象引用短生命周期的对象,长生命周期总是持有段生命周期的引用造成了对短生命周期对象的不能回收2.静态集合类引起内存泄露因为静态对象跟应用程序的生命周期一样Static Vector v = new Vector(10); for (int i = 1; i ... 阅读全文
摘要:
1.looper /** Initialize the current thread as a looper. * This gives you a chance to create handlers that then reference * this looper, befo... 阅读全文