Answer the question
In order to leave comments, you need to log in
Waiting for EditText result in for loop?
There is an ArrayList in which there are words. There is EditText where the user enters the same word. There is a for loop that should go through each element of the Sheet and compare it with the one written manually from the EditText field. Question: how to make it so that it would wait in a loop until the user writes a response in the EditText field?
Answer the question
In order to leave comments, you need to log in
Active waiting is bad, never do that. There is always an event to subscribe to. TextWatcher .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question