AdapterViewProtocol.AdaptedData

public static class AdapterViewProtocol.AdaptedData
extends Object

java.lang.Object
   ↳ android.support.test.espresso.action.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 classes

class AdapterViewProtocol.AdaptedData.Builder

 

Fields

public final Object data

This field is deprecated. use getData() instead.

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.

Public methods

Object getData()
String toString()

Inherited methods

From class java.lang.Object

Fields

data

Object data

This field is deprecated.
use getData() instead.

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

opaqueToken

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

Object getData ()

Returns
Object

toString

String toString ()

Returns
String