Unable to instantiate fragment make sure class name exists, is public, and has an empty constructor
在android中使用Fragment中,有时候我们会遇到Unabletoinstantiatefragmentmakesureclassnameexists,ispublic,andhasanemptyconstructorthatispublic这样的异常,从字面上理解应该是这个我们的自定义Fragment需要一个public没有参数的构造函数,但是有时候即使加上了无参数的public的构造函