Skip to content Skip to sidebar Skip to footer

Android Volley StringRequest Not Working Sometimes

I'm using the code below to get some local video URL from an API. public void getVideoAds(String serverURL){ String url = 'http://'+serverURL+'/video/'; StringRequest stri

Solution 1:

Add this in volley

  stringRequest.setRetryPolicy(DefaultRetryPolicy(20000, 3, 1.0f));

Post a Comment for "Android Volley StringRequest Not Working Sometimes"