您好所有我刚刚创建了一个演示用新的Android大号小部件RecyclerView.I工作也已实施拉要刷新使用SwipeRefreshLayout但问题我现在我怎么能实现粘头在这里,因为当我尝试设置
Hello All I have just created a demo to work with new android L widget RecyclerView.I have also implemented Pull-To-Refresh using SwipeRefreshLayout but problem for me now is how can I implement sticky header here,Because when i try to set
mRecyclerView.setOnScrollListener(new OnScrollListener() {
@Override
public void onScrolled(int arg0, int arg1) {
}
@Override
public void onScrollStateChanged(int arg0) {
// TODO Auto-generated method stub
}
});
我只得到这2种方法,所以不要有任何想法,我该怎么处理这...
I get only these 2 methods so dont have any idea how can I handle this...
请帮助..
这是我一直在寻找,如果有兴趣的人
Here is what I was looking if anyone interested
https://plus.google.com/114432517923423045208/posts/EdkQFx1RqhE
https://gist.github.com/gabrielemariotti/4c189fb1124df4556058