Answers for "how to increase volley timeout error in 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

Browse Popular Code Answers by Language