publicWaits for the specified View。boolean waitForView(android.view.View view)
Default timeout is 20 seconds。Parameters:view - the View object to wait forReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForView
publicWaits for the specified View。Parameters:view - the View object to wait fortimeout - the amount of time in milliseconds to waitscroll - true if scrolling should be performedReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForViewboolean waitForView(android.view.View view, int timeout, boolean scroll)
publicWaits for a View matching the specified class。boolean waitForView(Class viewClass, int minimumNumberOfMatches, int timeout)
Parameters:viewClass - the View class to wait forminimumNumberOfMatches - the minimum number of matches that are expected to be found。 0 means any number of matchestimeout - the amount of time in milliseconds to waitReturns:true if the View is displayed and false if it is not displayed before the timeoutwaitForView
publicWaits for a View matching the specified class。Parameters:viewClass - the View class to wait forminimumNumberOfMatches - the minimum number of matches that are expected to be found。boolean waitForView(Class viewClass, int minimumNumberOfMatches, int timeout, boolean scroll)
本文来自电脑杂谈,转载请注明本文网址:
https://www.pc-fly.com/a/ruanjian/article-37529-6.html
而且癌症这个东西你越怕它