-
int size = datas.size();
if(position == 0){
return TYPE_HEAD;
}
if(position==-1){
return TYPE_HEAD;
}
Log.d("zzzzz","----…
-
看了看代码。上拉到底部的时候、layoutManager.getItemCount() > layoutManager.getChildCount() 这个地方的判断出来问题。我添加了几个头部,然后再去使用xrecyclerView会有这问题。
mLinearLayoutManager.getItemCount()5
mLinearLayoutManager.getChildCount()6
…
-
GridLayoutManager setSpanSizeLookup无效
-
使用这个框架以来,不但没有给我节省时间,反而给我增加了不必要的工作量。
内部评审对这个框架的评价是非常负面的。
所以在考虑使用这个框架的用户,请务必慎重。
-
-
在ViewPager+Fragment中无法新建播放器,报错!
在Activity中正常,错误指示无法获取videoview的xml中的控件。
-
在使用的过程中,如果处于刷新的状态,可以无限的下拉,直到header拉到屏幕下方。此时无法返回,处于anr
-
看支付宝都在用你这个库,觉得挺牛b的,就跟过来看看,怎么demo中还有内存泄漏。上面好多都说你没有更新了,有好多bug都没有解了。
-
比如加载到最后显示的是”没有了“, 我想自己设置个更友好的提示语要怎么弄?
-
- XRecyclerView的头部刷新和底部加载更多通过在WrapAdapter使用mHeaderViews和mFootViews作为数据实现,而mDataObserver没有对这两个数据做判断处理,因此造成刷新位置不对,应该改成如下形式:
``` Java
private final RecyclerView.AdapterDataObserver mDataObserver = new R…