I have an activity, with a view on top of it. I want to add a touch listener onto that view, which listens to a swipe event. However, I dont want to consume any of the events. If I do this, I can only get the ACTION_DOWN event. That is because if I don't consume the event, I can't listen to the following ACTION_UP, or ACTION_MOVE event. Is there any ability, to detect a swipe, but don't consume the event?
As no one answered, I will share my findings. Sadly, what I wanted is not possible. At an action down event, the program should choose, if it wants to consume the event. If not, the event will be passed, and no upcoming ACTION_MOVE, ACTION_UP events can be catched. This is how views work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With