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