I know this may be very simple but ...
I am handling listview clicks according to the answer in my android app. Here is the code that use ListEntry class
ListEntry entry = (ListEntry) parent.getItemAtPosition(position);
But Eclipse can't detect this class and says "ListEntry cannot be resolved to a type" I google the "ListEntry" class and can't find anything about this, so where is my mistake?
Sorry for poor English. Thanks
Edit: here is my onLoadFinished method"
@Override
public void onLoadFinished(Loader<Cursor> arg0, Cursor arg1) {
// TODO Auto-generated method stub
arg1.moveToFirst();
simpleCursorAdapter = new SimpleCursorAdapter(
getApplicationContext(),
android.R.layout.simple_list_item_1,
arg1,
new String[] { "wname" },
new int[] { android.R.id.text1 },
CursorAdapter.IGNORE_ITEM_VIEW_TYPE);
listview.setAdapter(simpleCursorAdapter);
simpleCursorAdapter.swapCursor(arg1);
}