public void Retry(VolleyError error)
 {
     mCurrentRetryCount++;
     mCurrentTimeoutMs += (mCurrentTimeoutMs * (int)mBackoffMultiplier);
     if (!HasAttemptRemaining)
     {
         throw error;
     }
 }
Beispiel #2
0
 private Response(VolleyError error)
 {
     this.Result     = null;
     this.CacheEntry = null;
     this.MError     = error;
 }
Beispiel #3
0
 public static Response Error(VolleyError error)
 {
     return(new Response(error));
 }