安卓recyclerView item无法铺满问题解决 如此风景 2020-06-11 633 阅读1分钟 inflater布局时用下面代码解决 //此处不可用两个参数的的inflate方法,最后一个参数不可谓null LayoutInflater.from(mContext).inflate(getItemLayoutId(), viewGroup,false);