Created
September 26, 2014 02:40
-
-
Save huangcd/3f51e19038fabb0c4b35 to your computer and use it in GitHub Desktop.
volley set timeout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myRequest.setRetryPolicy(new DefaultRetryPolicy( | |
MY_SOCKET_TIMEOUT_MS, | |
DefaultRetryPolicy.DEFAULT_MAX_RETRIES, | |
DefaultRetryPolicy.DEFAULT_BACKOFF_MULT)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment