android RecyclerView首字母悬浮在顶部,滑动删除
好东西分享,尊重原创
转载网址:
http://www.360doc.com/content/16/0722/17/26794451_577592282.shtml
通过RecyclerView实现联系人的功能。
1.首字母悬浮在顶部。
2.侧滑删除联系人。
3.联系人索引。
Git地址:https://github.com/jiang111/IndexRecyclerView
可以对比一下 这个:
https://github.com/jiang111/SortList
效果图:
使用到的第三方库(部分):
https://github.com/timehop/sticky-headers-recyclerview
https://github.com/daimajia/AndroidSwipeLayout
推荐:
https://github.com/ShamylZakariya/StickyHeaders