Android 11 开发者预览版现已推出;快来测试并分享您的反馈吧

AdapterViewProtocols

public final class AdapterViewProtocols
extends Object

java.lang.Object
   ↳ androidx.test.espresso.action.AdapterViewProtocols


Implementations of AdapterViewProtocol for standard SDK Widgets.

Summary

Public methods

static AdapterViewProtocol standardProtocol()

Creates an implementation of AdapterViewProtocol that can work with AdapterViews that do not break method contracts on AdapterView.

Inherited methods

From class java.lang.Object

Public methods

standardProtocol

AdapterViewProtocol standardProtocol ()

Creates an implementation of AdapterViewProtocol that can work with AdapterViews that do not break method contracts on AdapterView.

Returns
AdapterViewProtocol