Hi all! Anyone know a library to work with androi...
# android
a
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
google 2
i
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
You can look at telegram sources and check how they do that
I bet you'll find content provider under the hood
a
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