RecyclerView ---LayoutManager
(1)getChildCount()
官方解释:Return the current number of child views attached to the parent RecyclerView
大概意思就是返回已经添加到RecyclerView的个数,并不是说数据的个数,这个方法大概的意思是由于RecyclerView有回收的机制,有时候我们需要知道Rec
原创
2016-02-14 16:13:15 ·
401 阅读 ·
0 评论