Android : How do I know if the adb shell input text is completed?

39 Views Asked by At

I have an input field where I set the data by using adb shell and I want to know if the adb shell input text is completed or not. So if it is completed then I want to write some logic. For EditText, we have addOnTextChangeListener, addTextChangeListener, OnEditTextSubmitListener. I have tried all the three options. addOnTextChangeListener got triggered for every character. It applies to addTextchangeListener as well. OnEditTextSubmitListener is not firing in some android devices. Could someone help me to solve this problem?

0

There are 0 best solutions below