11月 202016
 

1.必须设置setLayoutManager

2.在onCreateViewHolder方法中填充布局的时候,inflate的最后一参数必须为false

3.Adapter类的getItemCount方法返回的数量必须是大于0的数量

打赏
 Posted by on 2016-11-20

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

* Copy This Password *

* Type Or Paste Password Here *

13,217迄今阻止垃圾评论Spam Free Wordpress