Stay organized with collections Save and categorize content based on your preferences.

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 class AdapterViewProtocol.AdaptedData.Builder

Public fields

final Object

This field is deprecated.

use AdaptedData#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 constructors

Public methods

Object
String

Public fields

data

public final 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 constructors

AdaptedData

public AdaptedData()

Public methods

getData

public Object getData()

toString

public String toString()