背景: 我想要使用Bitmap類型的圖片,但是我使用的是ImageLoder
private DisplayImageOptions options;// 展示圖片的工具
options = new DisplayImageOptions.Builder() .cacheOnDisk(true) .cacheInMemory(true) .build();可以不使用options
Bitmap bitmap = ImageLoader.getInstance().loadImageSync((medicalRecordImage.getPath()/*這是網絡上解析過來的數據*/),options);這樣就可以得到bitmap類型了
2016.4.16