Caused by: java.lang.NullPointerException: Attempt to write to field 'int android.app.Fragment.mNext...

原文链接: http://www.cnblogs.com/butterfly-clover/p/5445588.html

原因fragment必须先add(),才能remove(),故remove前先做判空操作

参考:http://www.cnblogs.com/hixin/p/4427276.html

转载于:https://www.cnblogs.com/butterfly-clover/p/5445588.html

猜你喜欢

转载自blog.csdn.net/weixin_30672019/article/details/94860973