Open jikun2008 opened 8 years ago
yes facing the same issue. did you find the answer
i have the same issue
anyone found the solution
`public class MyRetryPolicyWithoutRetry implements RetryPolicy { @Override public int getCurrentTimeout() { return CONNECTION_TIME_OUT; /200000/ }
@Override
public int getCurrentRetryCount()
{
return 0;
}
@Override
public void retry(VolleyError error) throws VolleyError
{
throw(error);
}
}`
request.setRetryPolicy(new MyRetryPolicyWithoutRetry());
3q for it i already use retrofit2
VitaliPekelis where to add this...
does it solve the issue originally
I implemented this... Will it help me ... please suggest me i am in a hurry
I will be more thankful
ibrahim-appgodz, for me it solve the issue... setRetryPolicy to your request ...
com.android.volley.Request.setRetryPolicy(new MyRetryPolicyWithoutRetry());
Android Volley double post when have slow request. this url http://stackoverflow.com/questions/22428343/android-volley-double-post-when-have-slow-request