Methods Summary |
---|
protected abstract java.lang.Object | bind(android.database.Cursor cursor)A subclass should implement this method to create a single object using
binding information. This method is not intended to be called
outside of CursorMapper.
|
protected abstract void | bindColumns(android.database.Cursor cursor)Called once when the associated {@link Cursor} is changed. A subclass
should bind column indexes to column names in this method. This method is
not intended to be called outside of CursorMapper.
|
public java.lang.Object | convert(android.database.Cursor cursor)Convert a {@link Cursor} at its current position to an Object.
if (cursor != mCursor) {
mCursor = cursor;
bindColumns(mCursor);
}
return bind(mCursor);
|