Use OkHttpClient

This commit is contained in:
seven332 committed 2015-05-18 19:53:59 +08:00
1 parent 08d0794fe8
commit b7f8cda304
18 files changed
+551 -1121

No files matched your search

@@ -15,6 +15,7 @@
package com.hippo.util;
import android.annotation.NonNull;
import android.annotation.SuppressLint;
import android.content.Context;
import android.os.AsyncTask;
@@ -804,4 +805,13 @@ public final class Utils {
return EMPTY_STRING;
}
}
public static boolean contain(@NonNull Object[] array, Object obj) {
for (Object o : array) {
if (o.equals(obj)) {
return true;
}
}
return false;
}
}