摘要:
调用 dialog.show(getSupportFragmentManager(), "tag");时出现了java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState的错误。报错的原因:dialog.show()方法的内部使用了commit()方法提交事务,某些时候因为状态异常而报... 阅读全文
摘要:
private List mPathList; private FragmentStatePagerAdapter mPagerAdapter; //1.使用FragmentStatePagerAdapter mPagerAdapter = new FragmentStatePagerAdapter(getSupportFragmentManager()) { @Override ... 阅读全文