为避免 Android 应用程序发生异常错误应注意的一些问题

一、如果你有一个 Progress Dialog 在线程中转动,请在 onDestroy 里把他 cancel 掉,不然等线程结束的时候,调用 Dialog 的 cancel 方法会抛异常的。

你可能感兴趣的:(为避免 Android 应用程序发生异常错误应注意的一些问题)