Answers for "how to set request timeout in volley android"

1

volley timeout error

request.setRetryPolicy(new RetryPolicy() {
            @Override
            public int getCurrentTimeout() {
                return 50000;
            }

            @Override
            public int getCurrentRetryCount() {
                return 50000;
            }

            @Override
            public void retry(VolleyError error) throws VolleyError {

            }
        });
Posted by: Guest on March-01-2021

Code answers related to "how to set request timeout in volley android"

Browse Popular Code Answers by Language