摘要: 1.使用fragment得时候,异步回调返回时,一定要加上判断fragemt是否attached, 如果是Activity要判断activity是不是isFinish,包括要弹toast. 2.返回空列表: Collections.emptyList() 阅读全文
posted @ 2016-06-23 14:35 自由飞翔2012 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 一、onNewIntent() 在IntentActivity中重写下列方法:onCreate onStart onRestart onResume onPause onStop onDestroy onNewIntent 1、其他应用发Intent,执行下列方法:onCreateonStarton 阅读全文
posted @ 2016-06-23 12:03 自由飞翔2012 阅读(738) 评论(0) 推荐(0) 编辑