Bộ đệm ParseImageView của ParseFile trong Android chưa. Nếu nó lưu trữ parseFile, Làm thế nào tôi có thể tìm thấy đường dẫn của những tập tin trong thiết bị Android của tôi.Bộ đệm ParseImageView ParseFile
ParseImageView imageView = (ParseImageView) findViewById(android.R.id.icon);
// The placeholder will be used before and during the fetch, to be replaced by the fetched image
// data.
imageView.setPlaceholder(getResources().getDrawable(R.drawable.placeholder));
imageView.setParseFile(file);
imageView.loadInBackground(new GetDataCallback() {
@Override
public void done(byte[] data, ParseException e) {
Log.i("ParseImageView",
"Fetched! Data length: " + data.length + ", or exception: " + e.getMessage());
}
});
Picasso là cách duy nhất để đến đây. – Fattie