binaryrage
binaryrage

Reputation: 21

How to add delay between two requests using Volley on Android

I have a situation where I need to wait 5-10 seconds between two HTTP requests. I'm trying to use Volley in order to create the HTTP requests. I read into the RequestFuture class, but I couldn't find good documentation on it.

Any help would be appreciated. Thanks

Upvotes: 1

Views: 1205

Answers (1)

starkm
starkm

Reputation: 1029

Hmm. Can't you just use Handler class to delay the execution of adding the request to the queue?

Upvotes: 1

Related Questions