摘要: 调用 dialog.show(getSupportFragmentManager(), "tag");时出现了java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState的错误。报错的原因:dialog.show()方法的内部使用了commit()方法提交事务,某些时候因为状态异常而报... 阅读全文
posted @ 2019-02-19 19:25 yongfengnice 阅读(7445) 评论(0) 推荐(0) 编辑
摘要: private List mPathList; private FragmentStatePagerAdapter mPagerAdapter; //1.使用FragmentStatePagerAdapter mPagerAdapter = new FragmentStatePagerAdapter(getSupportFragmentManager()) { @Override ... 阅读全文
posted @ 2019-02-19 11:09 yongfengnice 阅读(1153) 评论(0) 推荐(0) 编辑