Hi all!
Anyone know a library to work with android contacts, or at least a good example / tutorial?
I've found a blog post on how to load a list fast, but it's only for phones / emails, and contacts app has labels, address, connections (duo, whatsapp)... and I cannot find an easy solution that provides all info
The best way (imo) is to use content provider. It is raw as possible, but you can fetch anything you need. Maybe somebody wrap it into library, but i assume same lib always be at one step behind Android contact api
iamthevoid
07/19/2021, 12:18 PM
You can look at telegram sources and check how they do that
iamthevoid
07/19/2021, 12:18 PM
I bet you'll find content provider under the hood
a
alorma
07/19/2021, 12:20 PM
Yea... that's why I was asking for a blog post also...
ContentProvider is useful, but it has so many layers and hard to identify all of them