Why java program continue running before tap (touch action) is finished? How can I suspend running program until tap is performed? It seems like touch action method running in parallel. I have to use thread.sleep, but is there correct solution?
Is there a way to wait until touch action is finished?