Fixes cache issue
This commit is contained in:
parent
587c8ef749
commit
46821b7ddb
|
@ -297,7 +297,8 @@ public class HttpsConnection {
|
||||||
cal.setTime(new Date());
|
cal.setTime(new Date());
|
||||||
cal.add(Calendar.DATE, -1);
|
cal.add(Calendar.DATE, -1);
|
||||||
Date dateBefore = cal.getTime();
|
Date dateBefore = cal.getTime();
|
||||||
if( date.after(dateBefore)){
|
File file = new File(uri);
|
||||||
|
if( date.after(dateBefore) && file.exists()){
|
||||||
imageLoader.displayImage(uri, imageView, options);
|
imageLoader.displayImage(uri, imageView, options);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue