Answers for "vOLLEY REQUEST WITH TIMEOUT"

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

Browse Popular Code Answers by Language