{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

AdapterViewProtocol.AdaptedData

class AdapterViewProtocol.AdaptedData


A holder that associates a data object from an AdapterView with a token the AdapterViewProtocol can use to force that data object to be rendered as a child or deeper descendant of the adapter view.

Summary

Nested types

AdapterViewProtocol.AdaptedData.Builder

Public constructors

Public functions

Any!
String!

Public properties

Any?

This property is deprecated.

use getData instead.

Any!

A token the implementor of AdapterViewProtocol can use to force the adapterView to display this data object as a child or deeper descendant in it.

Public constructors

AdaptedData

AdaptedData()

Public functions

getData

fun getData(): Any!

toString

fun toString(): String!

Public properties

data

val dataAny?

One of the objects the AdapterView is exposing to the user.

opaqueToken

val opaqueTokenAny!

A token the implementor of AdapterViewProtocol can use to force the adapterView to display this data object as a child or deeper descendant in it. Equal opaqueToken point to the same data object on the AdapterView.