摘要:
Handler作为Activity的内部类有可能会导致内存泄露的问题。具体如何解决,在国外有人提出,如下:Issue: Ensures that Handler classes do not hold on to a reference to an outer classIn Android, Handler classes should be static or leaks might occur. Messages enqueued on the application thread's MessageQueue also retain their target Handler. 阅读全文