protected void onDestroy() {
2 //Do Something
3 super.onDestroy();没有调用父类的onDestroy(),一定要加上
4 }
今天在写程序出现以上报错,经过查询后发现是Activity里的onDestroy()方法漏写super,一定要加上
protected void onDestroy() {
2 //Do Something
3 super.onDestroy();没有调用父类的onDestroy(),一定要加上
4 }
今天在写程序出现以上报错,经过查询后发现是Activity里的onDestroy()方法漏写super,一定要加上