private void getcontacts() { if (!killed) { RunOnUiThread(() => pd = ProgressDialog.Show(context, Application.Resources.GetString(Resource.String.contactsTitle), Application.Resources.GetString(Resource.String.contactsRefreshing))); if (Contacts.ContactsUtil.contacts == null) Contacts.ContactsUtil.contacts = new List<ContactDB>(); List<Guid> excludeContactIDs = new List<Guid>(); excludeContactIDs = dbm.GetAllContactsForOwner(AndroidData.CurrentUser.AccountID.ToString()).Select(s => s.ContactAccountID).ToList(); if (excludeContactIDs.Count != 0) saveProfileImages(excludeContactIDs); LOLConnectClient service = new LOLConnectClient(LOLConstants.DefaultHttpBinding, LOLConstants.LOLConnectEndpoint); service.ContactsGetListCompleted += Service_ContactsGetListCompleted; service.ContactsGetListAsync(AndroidData.CurrentUser.AccountID, excludeContactIDs, new Guid(AndroidData.ServiceAuthToken)); } }