Skip to content

androidKaKa/ExRecyclerView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExRecyclerView

--

可以设置头/底部,Item点击/长按监听的recyclerView。

可利用ExStaggeredGridLayoutManager给瀑布流设置头/底

利用DividerGridItemDecorationDividerItemDecoration来添加分割线

可利用OnRecyclerViewScrollListener监听滑动到顶部、底部的事件,还可以监听滑动的距离

本项目中demo的adapter用的是通用的adapter(CommonRcvAdapter)来做的,如果你希望用recyclerView的adapter来做,你只需要将自己的adapter继承自BaseRecyclerAdapter即可。如果你希望了解下通用的adapter的构建模式,请参考:https://github.com/tianzhijiexian/CommonAdapter

截图

image

image

image

开发者

image

Jack Tony: <developer_kale@.com>

License

Copyright 2015 Jack Tony

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

扩展的RecyclerView

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages