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