public void clickLongOnTextAndPress ( String text , int index ) { if ( config . commandLogging ) { Log . d ( config . commandLoggingTag , "clickLongOnTextAndPress(\"" + text + "\", " + index + ")" ) ; } clicker . clickLongOnTextAndPress ( text , index ) ; }
Long clicks a View displaying the specified text and then selects an item from the context menu that appears . Will automatically scroll when needed .