今天出现这么个问题,想重写fragment构造函数,传入一个参数
结果就提示这个Avoid non-default constructors in fragments```啦
解决方法:在类的前面加上@SuppressLint("ValidFragment")就妥啦