Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create an empty adapter we will use to display the loaded data.
- mAdapter = new SimpleCursorAdapter(getActivity(),
- android.R.layout.simple_list_item_2, null,
- new String[] { Contacts.DISPLAY_NAME, Contacts.CONTACT_STATUS },
- new int[] { android.R.id.text1, android.R.id.text2 }, 0);
- setListAdapter(mAdapter);
Add Comment
Please, Sign In to add comment