Exemplo n.º 1
0
  /** Cancel all pending requests */
  public void cancelAll() {
    ArrayList<Object> groups;

    synchronized (this) {
      groups = new ArrayList<Object>(inFlight.keySet());
    }

    for (Object group : groups) cancelAll(group);
  }
Exemplo n.º 2
0
 /**
  * Cancel all pending requests associated with the given context
  *
  * @param context
  */
 public void cancelAll(Context context) {
   cancelAll((Object) context);
 }