使用
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);