You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if I am missing it but android provides Section indexer for contacts so that you can show sections per letter in contact list.
It might be be good to include it in the library.
val uriWithContactIndexes = ContactsContract.Data.CONTENT_URI.buildUpon()
.appendQueryParameter(ContactsContract.Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true")
.build()
Not sure if I am missing it but android provides Section indexer for contacts so that you can show sections per letter in contact list.
It might be be good to include it in the library.
val uriWithContactIndexes = ContactsContract.Data.CONTENT_URI.buildUpon()
.appendQueryParameter(ContactsContract.Contacts.EXTRA_ADDRESS_BOOK_INDEX, "true")
.build()
https://cs.android.com/android/platform/superproject/main/+/main:packages/apps/Contacts/src/com/android/contacts/list/ContactsSectionIndexer.java
https://developer.android.com/reference/android/provider/ContactsContract.Data#EXTRA_ADDRESS_BOOK_INDEX_TITLES
https://android.googlesource.com/platform/cts/+/c35d791/tests/tests/provider/src/android/provider/cts/ContactsContract_ContactCountsTest.java