Answer the question
In order to leave comments, you need to log in
How to interrupt onTouchEvent(Kotlin) code?
There is a conditional code.
Answer the question
In order to leave comments, you need to log in
Separately take out the logic - while(notTouch) {
} or do {}while depending on the logic
in the onTouch method notTouch = true/false, set and rejoice
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question