public < T extends View > boolean waitForView ( View view , int timeout , boolean scroll ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "waitForView(" + view + ", " + timeout + ", " + scroll + ")" ) ; } boolean checkIsShown = false ; if ( ! scroll ) { checkIsShown = true ; } View viewToWaitFor = waiter . waitForView ( view , timeout , scroll , checkIsShown ) ; if ( viewToWaitFor != null ) return true ; return false ; }
Waits for the specified View .