Skip to content

mlfmbc/IndexRecyclerView

 
 

Repository files navigation

###通过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

License

Copyright 2016 NewTab

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

Packages

No packages published

Languages

  • Java 100.0%