Skip to content

GitEliteNovice/ContactPicker

Repository files navigation

ContactPicker

FastContactPicker is a library that fetches contacts from the device very fast. The library does all the fetching work in the background with the help of coroutines. This library is very fast, efficient and easy to use for all.

API Twitter URL PRs Welcome Open Source Love svg1 ForTheBadge built-with-love


Android library for Fetching Contacts from Device

Built with ❤︎ by Aryan Dhankar.

Including in your project

For Gradle

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 {
       implementation 'com.github.GitEliteNovice:ContactPicker:2.0'
}

For Maven

       <repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

Step 2. Add the dependency

<dependency>
    <groupId>com.github.GitEliteNovice</groupId>
    <artifactId>ContactPicker</artifactId>
    <version>2.0</version>
</dependency>

Usage

    var obj = FastContactPickerImpl(this);

    GlobalScope.launch(Dispatchers.Main) {
       
       var contacts = obj.getContacts(); // list of contacts
       
        if (contacts != null) {
            // do your thing

        }

    }

*Note:- If you want to say thanks or want to share how much you like my efforts, then you can share it with me with Say Thanks!