ADB input events work for automated testings. For example,
adb shell input tap X Y
fires a tap event in X Y position of the screen. Now, my intention is to fire an tap event after a user tap happens in the screen. For example,
adb shell input tap X1 Y1
[user selects an item from the list] and next event waits until user selection
adb shell input tap X2 Y2
Is there any way around to do that?