I want to show the contact list in the SherlockFragmentList tab in the tab in the action bar. I follow the Android development tutorial , but I get the following error when I try to get id values ββinside the onItemClick method: (The getLong (int) method is undefined for the ContactListFragment type)
public class ContactListFragment extends SherlockListFragment implements LoaderCallbacks<Cursor>, AdapterView.OnItemClickListener { @Override public void onItemClick(AdapterView<?> parent, View item, int position, long rowID) {
Any help here? Thanks
source share