AdapterViewProtocol.AdaptedData

public 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

Public fields

final @Nullable Object

This field is deprecated.

use getData instead.

final Object

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 methods

Object
String

Public fields

data

public final @Nullable Object data

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

opaqueToken

public final Object opaqueToken

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.

Public methods

getData

public Object getData()

toString

public String toString()