Check Mobile App
Read now
Start a Project

detecting Volley library auto request to Server API


Volley is an HTTP library that makes networking for Android apps easier and most importantly, faster. Volley is available on GitHub.

Volley offers the following benefits:

We have seen Volley library automatically call API once more when we call an API. In our case when we request a multipart API then We look that Volley request once more with same data of the first request, So how we detect auto request?

We can solve it by the setRetryPolicy method of Request class.

above multipartRequest is the object instance of Request class.

Now Full request code



. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


Very good company, we did get app extension for Magento 2 website. The support was very good they help us through the process. Webkul team is very supportive, I would recommend them.

Yasser Mohamed

Yasser Mohamed

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home