I'm developing a general purpose library for Android apps and I'm using Volley to send requests over the network.
2 issues that came from the same problem: the user clicks the Button
several times and the request is queued the # of times the user clicked the Button
(which points to the same user XP problem).
I wish to tackle the problem on two issues in the client side of things:
- UI - general purpose button that has a timer threshold on click, so
the user cannot click the
Button
too much times. This is and example of an implementation: How to avoid multiple button click at same time in android? - Volley as a Rest Client should hold the necessary information in order to deal with multiple requests that comes from the same operation.
How can I use Volley in order to not queue the same request twice?