I have a doubt, is it possible to have two independent actions at same time in a single thread?
For example, when you build a custom view you have to override onTouchEvent()
function that is called every time you touch the screen and also while you are touching it; but what happens when you run a function that loops infinitely in MotionEvent.ACTION_DOWN
and the system call MotionEvent.ACTION_UP
? Will the infinite loop function stop or will they work together?
Thanks for any help.