Code example for ImageView

Methods: setImageURI

0
			@Override 
			public void run() { 
				pbar.setVisibility(View.GONE);
				if (image != null) {
					textViewFile.setText(image.getFilePathOriginal());
					imageViewThumbnail.setImageURI(Uri.parse(new File(image
							.getFileThumbnail()).toString()));
					imageViewThumbSmall.setImageURI(Uri.parse(new File(image
							.getFileThumbnailSmall()).toString()));
				} 
			} 
		}); 
	} 
 
	@Override 
	public void onError(final String reason) {
		runOnUiThread(new Runnable() {
 
			@Override 
			public void run() { 
				pbar.setVisibility(View.GONE);