解决Can not perform this action after onSaveInstanceState

fragment替换的时候,commit替换为commitAllowingStateLoss即可

猜你喜欢

转载自happy9837457.iteye.com/blog/2077019