CursorMapper
public
abstract
class
CursorMapper
extends Object
java.lang.Object
|
↳ |
androidx.leanback.database.CursorMapper
|
Abstract class used to convert the current Cursor
row to a single
object.
Summary
Public methods |
Object
|
convert(Cursor cursor)
Convert a Cursor at its current position to an Object.
|
Protected methods |
abstract
Object
|
bind(Cursor cursor)
A subclass should implement this method to create a single object using
binding information.
|
abstract
void
|
bindColumns(Cursor cursor)
Called once when the associated Cursor is changed.
|
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public constructors
CursorMapper
public CursorMapper ()
Public methods
convert
public Object convert (Cursor cursor)
Convert a Cursor
at its current position to an Object.
Protected methods
bind
protected abstract Object bind (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.
bindColumns
protected abstract void bindColumns (Cursor cursor)
Called once when the associated 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.