• 微信号:Zh-y9213
您当前的位置:爱资源分享网 > > 网站源码 > 程序源码

通过RecyclerView实现的联系人

栏目:程序源码时间:2021-11-15 21:31阅读数:99人阅读

通过RecyclerView实现联系人的功能。

usage:

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

    allprojects {
        repositories {
            ...
            maven { url "https://jitpack.io" }
        }
    }

Step 2. Add the dependency

    dependencies {
            compile 'com.android.support:recyclerview-v7:23+'
            compile 'com.github.jiang111:IndexRecyclerView:1.0'
    }

demo:

1.首字母悬浮在顶部。
2.侧滑删除联系人。
3.联系人索引。
 

效果图: 





在head_recyclerview branch实现了带head的RecyclerView 

参考的第三方库(部分):

https://github.com/timehop/sticky-headers-recyclerview 
https://github.com/daimajia/AndroidSwipeLayout


资源均来自第三方,谨慎下载,前往第三方网站下载

本站所有文章、数据、图片均来自互联网,一切版权均归源网站或源作者所有。

如果侵犯了你的权益请来信告知我们删除。邮箱:737597453@qq.com