List of usage examples for android.widget SimpleCursorAdapter getItem
public Object getItem(int position)
From source file:com.commonsware.android.fts.QuestionsFragment.java
@Override public void onListItemClick(ListView l, View v, int position, long id) { SimpleCursorAdapter adapter = (SimpleCursorAdapter) getListAdapter(); Cursor row = (Cursor) adapter.getItem(position); int link = row.getColumnIndex(DatabaseHelper.LINK); ((Contract) getActivity()).onQuestionClicked(row.getString(link)); }