title: CursorLoader/adapter not displaying correct values
body: <p>I'm attempting to query Nickname and SIP Address from the contacts. The issue I'm running into is that both of them are stored in DATA1 column. So when I run a query, I only retrieve the Nicknames. What's a method of retrieving both of them and passing them into the <code>SimpleCursorAdapter</code> below?</p>
  
  <pre><code>CursorLoader c = new CursorLoader(getActivity(), baseUri, CONTACTS_NUMBER_PROJECTION2, Data.MIMETYPE+" ='" + Nickname.CONTENT_ITEM_TYPE+"'", null, ORDER);
  
  private static final String[] CONTACTS_NUMBER_PROJECTION2 = new String[] {
  SipAddress.DISPLAY_NAME,
  SipAddress.SIP_ADDRESS,
  BaseColumns._ID};
  </code></pre>
  
  <p>Using a <code>SimpleCursorAdapter</code>, both <code>Nickname.NAME</code> and <code>SipAddress.SIP_ADDRESS</code> are nicknames.</p>
  
  <pre><code>SimpleCursorAdapter adapter = new SimpleCursorAdapter(getActivity(), R.layout.contact_list, null,  
                            new String[] {Nickname.NAME, SipAddress.SIP_ADDRESS},
                            new int[] {R.id.text1, R.id.text2}, 0);
  </code></pre>
  
  <p>The screen shot looks like this. The smaller font should be the Sip Address.</p>
  
  <p>If I change <code>Nickname.CONTENT_ITEM_TYPE</code> to <code>SipAddress.CONTENT_ITEM_TYPE</code> I get Sip Addresses instead of nicknames. I'm not sure how to get both to show up.</p>
  
  <p><img src="https://i.stack.imgur.com/JH0xK.jpg" alt="enter image description here"></p>
  
  <p>Update:</p>
  
  <p>I changed Nickname.NAME and SipAddress.SIP_ADDRESS to Nickname.DATA7 and Nickname.DATA*, respectively. Added 'null' for my selectionArgs. I actually do get both the nickname and sip address to show up but not on the same row:</p>
  
  <p><img src="https://i.stack.imgur.com/knNcj.jpg" alt="enter image description here"></p>
  
  <p>Update 2:</p>
  
  <p>I stored the sip and nick name value under StructuredName.DISPLAY_NAME and StructuredName.GIVEN_NAME, then loaded them with the adapter. I change the selectionArgs to Data.MIMETYPE+" ='" + StructuredName.CONTENT_ITEM_TYPE+"'"</p>
  
  <p>This was the result:
  <img src="https://i.stack.imgur.com/mz4f1.jpg" alt="enter image description here"></p>
  
  <pre><code> if (key.equals("alias")) {
                              contacts.add(ContentProviderOperation
                                      .newInsert(
                                              ContactsContract.Data.CONTENT_URI)
                                      .withValueBackReference(
                                              ContactsContract.Data.RAW_CONTACT_ID,
                                              0)
                                      .withValue(
                                              ContactsContract.Data.MIMETYPE,
                                              ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
                                      .withValue(
                                              ContactsContract.CommonDataKinds.StructuredName.DISPLAY_NAME,
                                              userDict.get(key).toString())
                                      .build());
                          }
  if (key.equals("sipExt")) {
                              contacts.add(ContentProviderOperation
                                      .newInsert(
                                              ContactsContract.Data.CONTENT_URI)
                                      .withValueBackReference(
                                              ContactsContract.Data.RAW_CONTACT_ID,
                                              0)
                                      .withValue(
                                              ContactsContract.Data.MIMETYPE,
                                              ContactsContract.CommonDataKinds.StructuredName.CONTENT_ITEM_TYPE)
                                      .withValue(
                                              ContactsContract.CommonDataKinds.StructuredName.GIVEN_NAME,
                                              userDict.get(key).toString())
                                      .build());
                          }
  </code></pre>