Simplifies and wraps all Contacts Provider / ContactsContract functionality in a nice and simple Kotlin/Java API so you no longer have to deal with content resolvers and cursors.
The API provides:
- Models for all ContactsContracts entities (e.g. Contact, RawContact, Data; name, email, phone, etc)
- Create, read, update, delete (CRUD) operations for Contacts, RawContacts, Data, Profile, Groups, Accounts
- Get/set/remove contact photo, thumbnail, starred, send to voicemail, custom ringtone, and default (primary) data
- Link/unlink Contacts
- Optional extensions for async work and permissions handling using Kotlin Coroutines
- Planned optional support for RxJava and Kotlin Flow
- Custom data integration
Framework-agnostic design. The core API will not force you to use RxJava, Flow, or any other frameworks. Just pure Kotlin/Java. Up to you how you want to use it.
from The Android Arsenal
No comments:
Post a Comment