android.support.v4.app.Fragment$InstantiationException: Unable to instantiate fragment com.gw.PcOtherFragment: make sure class name exists, is public, and has an empty constructor that is public
Fragment使用带参数的构造函数,有时候会报如下错误:Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor that is public所以,Android 官方是不推荐Fragment使用带参数的构造函数官方推荐使用如下方法创建Fragme