CursorMapper
abstract class CursorMapper
kotlin.Any | |
↳ | androidx.leanback.database.CursorMapper |
Abstract class used to convert the current Cursor
row to a single object.
Summary
Public constructors |
|
---|---|
<init>() Abstract class used to convert the current |
Public methods |
|
---|---|
open Any! |
Convert a |
Protected methods |
|
---|---|
abstract Any! |
A subclass should implement this method to create a single object using binding information. |
abstract Unit |
bindColumns(cursor: Cursor!) Called once when the associated |
Public constructors
Public methods
convert
open fun convert(cursor: Cursor!): Any!
Convert a Cursor
at its current position to an Object.
Protected methods
bind
protected abstract fun bind(cursor: Cursor!): Any!
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.