fragment中commit和commitAllowingStateLoss的区别: http://huxian99.github.io/2016/08/28/Android-commit%E5%92%8CcommitAllowingStateLoss%E5%8C%BA%E5%88%AB%E5%8F%8A%E5%BA%94%E7%94%A8%E5%9C%BA%E6%99%AF/?utm_source=tuicool&utm_medium=referral