public < T extends View > boolean waitForView ( final Class < T > viewClass ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "waitForView(" + viewClass + ")" ) ; } return waiter . waitForView ( viewClass , 0 , Timeout . getLargeTimeout ( ) , true ) ; }
Waits for a View matching the specified class . Default timeout is 20 seconds .