
KKImageOnReceiveHttpHeaderListener onReceiveHttpHeaderListener) {
KKImageRequest request = fetchList.get(view);</BUG>
if (request != null) {
if (request.getUrl().equals(url)) {
<BUG>return;
</BUG>
} else {
if (request.getStatus() == UserTask.Status.RUNNING) {
request.cancel();

if (cacheFile.exists()) {
return BitmapFactory.decodeFile(cachePath);
}
return null;
}
private KKImageRequest updateView(View view, String url, String localPath, int defaultResourceId, boolean updateBackground,
boolean saveToLocal, OnImageDownloadedListener listener) {
KKImageRequest request = fetchList.get(view);
if (request != null) {
if (request.getUrl().equals(url)) {
return null;
} else {
if (request.getStatus() == UserTask.Status.RUNNING) {
request.cancel();
