LayoutInflater attachToRoot 警告

227 阅读1分钟
        convertView = LayoutInflater.from(context).inflate(R.layout.item, parent, false);

这样使用可以避免警告