Caused by: android.app.Fragment$InstantiationException: Unable to instantiate fragment
make sure class name exists, is public, and has an empty constructor that is
make sure class name exists, is public, and has an empty constructor that is
这个bug是由于fragment少了一个空的构造函数,在Activity从新激活的时候 没办法获得默认构造函数引起的一个异常。
总结:fragment 必须有个空的构造函数 否则在Activity从新激活的时候 没办法获得默认构造函数