Set Timeout Volley Android

[Solved] Set Timeout Volley Android | Swift - Code Explorer | yomemimo.com
Question : set timeout volley android

Answered by : mohamed-boumlyk

// MY_SOCKET_TIMEOUT_MS is your custom timeout in milllisecond
myRequest.setRetryPolicy(new DefaultRetryPolicy( MY_SOCKET_TIMEOUT_MS, DefaultRetryPolicy.DEFAULT_MAX_RETRIES, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT));

Source : https://stackoverflow.com/questions/17094718/change-volley-timeout-duration | Last Update : Thu, 26 May 22

Answers related to set timeout volley android

Code Explorer Popular Question For Swift