Guest User

Untitled

a guest
Oct 15th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. // Create an empty adapter we will use to display the loaded data.
  2. mAdapter = new SimpleCursorAdapter(getActivity(),
  3. android.R.layout.simple_list_item_2, null,
  4. new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS },
  5. new int[] { android.R.id.text1, android.R.id.text2 }, 0);
  6. setListAdapter(mAdapter);
Add Comment
Please, Sign In to add comment