How do I call ContentResolver.query method in Android L (API 20) with distinct? Ref- http://developer.android.com/reference/android/content/ContentResolver.html
This API does not have bool distinct parameter overloaded query method as earlier APIs did.
I am trying to query on "content://sms/inbox" and I want only distinct messages (only latest one in each message thread) to show in the main messages listview.
Any help is appreciated.
Thank you.
0 comments:
Post a Comment