使用
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.check_item, parent,false);//解决宽度不能铺满
代替之前的
View view=View.inflate(context, R.layout.child_himonet_detail,null);
使用
View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.check_item, parent,false);//解决宽度不能铺满
代替之前的
View view=View.inflate(context, R.layout.child_himonet_detail,null);