public UrlCritter addUrlTypedArray(TypedArray typedArray,Context context){
  List<String> savedUrls=urlManager.getUrls(context);
  int length=typedArray.length();
  for (int i=0; i < length; i++) {
    String url=typedArray.getString(i);
    if (!savedUrls.contains(url)) {
      savedUrls.add(url);
    }
  }
  urlManager.saveUrls(context,savedUrls);
  return this;
}

public UrlCritter addUrlTypedArray ( TypedArray typedArray , Context context ) { List < String > savedUrls = urlManager . getUrls ( context ) ; int length = typedArray . length ( ) ; for ( int i = 0 ; i < length ; i ++ ) { String url = typedArray . getString ( i ) ; if ( ! savedUrls . contains ( url ) ) { savedUrls . add ( url ) ; } } urlManager . saveUrls ( context , savedUrls ) ; return this ; }
adds a typed array of urls
