-1
 public void onAccessibilityEvent(AccessibilityEvent event) {
      case AccessibilityEvent.CONTENT_CHANGE_TYPE_SUBTREE:
                String text = event.getText().toString();
}

The current code even return the hint in the event.getText(), How to know whether the text is user entered or hint.

surya
  • 607
  • 5
  • 18
  • How sad some random person comments irrelavant answer and when i ask for proper reason he deletes comment and down votes question .stackovetflow find a solution – surya Apr 01 '17 at 16:36

1 Answers1

0

we can use getBeforeText() from the event function

surya
  • 607
  • 5
  • 18