判断activity是否销毁
if (activity == null || activity.isDestroyed() || activity.isFinishing()) {
DebugUtil.e(tag, msg);
return;
}
如果在本类中直接使用this.isDestroued()
判断activity是否销毁
if (activity == null || activity.isDestroyed() || activity.isFinishing()) {
DebugUtil.e(tag, msg);
return;
}
如果在本类中直接使用this.isDestroued()