我有以下代码可以从我的 Android 设备上的目录中获取我的 JPG 文件:
File f = new File(cacheDir, fn);
如何f
将其放入 ImageView 中?
ImageView imgView = (ImageView)header.findViewById(R.id.imvCover);
// what call do I make here?
// this obviously is not correct and just for example.
imgView.setToFile(f);