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
Hello. I tried to use ordering but it returns contacts with some unpredictable order for me. Finally, I changed in ContentResolver.queryContacts query to
Hello. I tried to use ordering but it returns contacts with some unpredictable order for me. Finally, I changed in
ContentResolver.queryContacts
query toreturn query(ContactsContract.Data.CONTENT_URI, projections, selection, selectionArgs, "upper("+ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME + ") ASC")
copied from https://stackoverflow.com/a/24489525/716027
I think ordering by display name is the most common case. Can you add it?
The text was updated successfully, but these errors were encountered: