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
{{ message }}
This repository has been archived by the owner on Apr 8, 2021. It is now read-only.
Don't worry.
In the implementation of this version, filter is not correctly used (so no needed), you can provide your own link filter.
It will be the same because CreateContact is call in all cases.
Filter (or order, etc.) is the responsability of ContentResolver::Query method
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
I'm using v1.0.5.
I'm not able to filter contacts like you mention in README.
var contacts = await Plugin.ContactService.CrossContactService.Current.GetContactListAsync(x=>x.Emails.Count > 0);
IContactService does not include any parameter for GetContactList methods :
namespace Plugin.ContactService { public interface IContactService { // Gets contacts in main thread !!!NOT RECOMMENDED IList<Contact> GetContactList(); // Gets contact in an awaitable background task Task<IList<Contact>> GetContactListAsync(); } }
Therefore, I'm obliged to get all contacts from phone before display... and this can take a lot of time when user as more than 500 contacts...
What can I do to enable filtering ?
The text was updated successfully, but these errors were encountered: