对于LayoutInflater.from(parent.getContext()).inflate()方法的笔记
今天在练习的时候,,发现这里面两个方法的区别,给自己做点笔记
第一种,LayoutInflater.from(parent.getContext())inflate(R.layout.item_layout,null);
第二种,LayoutInflater.from(parent.getContext())inflate(R.layout.item_layout,parent,fal...
原创
2017-05-10 17:51:05 ·
5856 阅读 ·
1 评论