代码整理

This commit is contained in:
kehaoyuan
2017-05-05 18:24:37 +08:00
parent 4da12055e9
commit c96193b3d0
29 changed files with 44 additions and 66 deletions

View File

@ -358,7 +358,7 @@ public class ViewImageActivity extends BaseActivity implements OnPageChangeListe
String key = urls.get(viewimage_vp_show.getCurrentItem());
String hdKey = "http://image.ghzhushou.com/pic/hq" + key.substring(key.lastIndexOf("/"));
ImagePipeline imagePipeline = Fresco.getImagePipeline();
String curUrl = null;
String curUrl;
if (imagePipeline.isInBitmapMemoryCache(Uri.parse(hdKey))) {
curUrl = hdKey;