android - Multiple Numbers under one contact -
i have listview custom lazy adapter attached. pull contacts phone , display them in list. having issue dealing multiple numbers. if 1 contact has multiple numbers different types appear different contacts shown below: here code getting contact list: public lazyadapter getcontactlist(){ contentresolver cr = mcontext.getcontentresolver(); cursor cur = cr.query(contactscontract.contacts.content_uri, null, null, null, null); if (cur.getcount() > 0) { while (cur.movetonext()) { string id = cur.getstring(cur.getcolumnindex(contactscontract.contacts._id)); string name = cur.getstring(cur.getcolumnindex(contactscontract.contacts.display_name)); if (integer.parseint(cur.getstring(cur.getcolumnindex(contactscontract.contacts.has_phone_number))) > 0) { cursor pcur = cr.query(phone.content_uri,null,phone.contact_id +" = ?",new string[]{id}, null); ...