去除volley 中TAG的滥用导致无法重复加载同一url,项目整理
This commit is contained in:
@ -19,8 +19,6 @@ package com.android.volley;
|
||||
import android.os.Handler;
|
||||
import android.os.Looper;
|
||||
|
||||
import com.gh.common.util.Utils;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedList;
|
||||
@ -206,9 +204,6 @@ public class RequestQueue {
|
||||
cancelAll(new RequestFilter() {
|
||||
@Override
|
||||
public boolean apply(Request<?> request) {
|
||||
Utils.log("111" + request.getTag().toString());
|
||||
Utils.log("111" + tag);
|
||||
Utils.log("111" + (request.getTag() == tag));
|
||||
return request.getTag() == tag;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user