urlConnection.setReadTimeout(10 * 1000);
return urlConnection;
}
public synchronized void networkImageWithCompress(final String url, final int inSampleSize, final ImageCallback callBack) {
RestHttpLog.i("Get compress picture from network");
<BUG>RequestQueue.getInstance().addReadImgCacheAsyn(new Runnable() {
</BUG>
@Override
public void run() {
HttpURLConnection urlConnection = getHttpUrlConnection(url);

urlConnection.setReadTimeout(10 * 1000);
return urlConnection;
}
public synchronized void networkImageWithCompress(final String url, final int inSampleSize, final ImageCallback callBack) {
RestHttpLog.i("Get compress picture from network");
ThreadPool.getInstance().addReadImgCacheAsyn(new Runnable() {
@Override
public void run() {
HttpURLConnection urlConnection = getHttpUrlConnection(url);
