Android APIs
public interface

ViewFinder

android.support.test.espresso.ViewFinder
Known Indirect Subclasses

Class Overview

Uses matchers to locate particular views within the view hierarchy.

Summary

Public Methods
abstract View getView()
Immediately locates a single view within the provided view hierarchy.

Public Methods

public abstract View getView ()

Immediately locates a single view within the provided view hierarchy. If multiple views match, or if no views match the appropriate exception is thrown.

Returns
  • A singular view which matches the matcher we were constructed with.
Throws
AmbiguousViewMatcherException when multiple views match
NoMatchingViewException when no views match.