If an Android Volley post request fails due to network loss, will Android Volley retry the post after the network connection is restored automatically? Will it fire all of the r
I have this problem since I try to volley request on a method and onErrorResponse method of volley call that method again.example:
@Override
public void onErrorResponse(VolleyError volleyError) {
final Handler handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
sendOTPAgain();//this method call again and again
}
}, 1000);
}