调整EhClient

This commit is contained in:
seven332 committed 2014-04-03 19:28:57 +08:00
1 parent 1c11ac38ea
commit 70e0aada25
14 files changed
+796 -830

No files matched your search

+2 -2
View File
@@ -127,7 +127,7 @@ public class ImageLoadManager {
@Override
public void run() {
LoadTask loadTask;
HttpHelper httpHelper = new HttpHelper();
HttpHelper httpHelper = new HttpHelper(mContext);
while (true) {
synchronized (ImageDownloadManager.this) {
if (mDownloadTask.isEmpty()) {
@@ -144,7 +144,7 @@ public class ImageLoadManager {
Message msg = new Message();
msg.obj = loadTask;
if (bitmap == null) {
Log.d(TAG, mContext.getString(httpHelper.getLastEMsgId()));
Log.d(TAG, httpHelper.getEMsg());
loadTask.bitmap = Ui.BITMAP_TOUCH;
liv.setState(LoadImageView.FAIL);
liv.setOnClickListener(ImageLoadManager.this);