use of com.dailystudio.app.widget.SimpleDatabaseObjectCursorAdapter in project devbricks by dailystudio.
the class AbsCursorAdapterFragment method dumpObject.
public DatabaseObject dumpObject(Cursor cursor) {
if (cursor == null) {
return null;
}
ListAdapter adapter = getAdapter();
if (adapter instanceof SimpleDatabaseObjectCursorAdapter == false) {
return null;
}
final SimpleDatabaseObjectCursorAdapter<?> dbObjectAdapter = (SimpleDatabaseObjectCursorAdapter<?>) adapter;
return dbObjectAdapter.dumpItem(cursor);
}
use of com.dailystudio.app.widget.SimpleDatabaseObjectCursorAdapter in project devbricks by dailystudio.
the class AbsCursorAdapterFragment method dumpObject.
public DatabaseObject dumpObject(int position) {
ListAdapter adapter = getAdapter();
if (adapter instanceof SimpleDatabaseObjectCursorAdapter == false) {
return null;
}
final SimpleDatabaseObjectCursorAdapter<?> dbObjectAdapter = (SimpleDatabaseObjectCursorAdapter<?>) adapter;
return dbObjectAdapter.dumpItem(position);
}
Aggregations