Timeout for server request made using “Volley” only on Android not iOS

后端 未结 5 1374
借酒劲吻你
借酒劲吻你 2020-12-16 18:04

In one of my application, I am sending request to server using volley provided by Google.

Problem : Timeout and error object is null o

5条回答
  •  南方客
    南方客 (楼主)
    2020-12-16 18:44

    request.setRetryPolicy(new DefaultRetryPolicy( 50000, 5, DefaultRetryPolicy.DEFAULT_BACKOFF_MULT))

提交回复
热议问题