TextView tvOrientation = (TextView) view.findViewById(R.id.tvOrientation);
tvOrientation.setText(String.format(FORMAT_ORIENTATION, video.getOrientationName()));
}
private void showImage(ChosenFile file, View view) {
ChosenImage image = (ChosenImage) file;
<BUG>SimpleDraweeView ivImage = (SimpleDraweeView) view.findViewById(R.id.ivImage);
ivImage.setImageURI(Uri.fromFile(new File(image.getThumbnailSmallPath())));
TextView tvDimension = (TextView) view.findViewById(R.id.tvDimension);</BUG>
tvDimension.setText(String.format(FORMAT_IMAGE_VIDEO_DIMENSIONS, image.getWidth(), image.getHeight()));
TextView tvMimeType = (TextView) view.findViewById(R.id.tvMimeType);

TextView tvOrientation = (TextView) view.findViewById(R.id.tvOrientation);
tvOrientation.setText(String.format(FORMAT_ORIENTATION, video.getOrientationName()));
}
private void showImage(ChosenFile file, View view) {
ChosenImage image = (ChosenImage) file;
SimpleDraweeView ivImage = (SimpleDraweeView) view.findViewById(R.id.ivImage);
if (image.getThumbnailSmallPath() != null) {
ivImage.setImageURI(Uri.fromFile(new File(image.getThumbnailSmallPath())));
}
TextView tvDimension = (TextView) view.findViewById(R.id.tvDimension);
tvDimension.setText(String.format(FORMAT_IMAGE_VIDEO_DIMENSIONS, image.getWidth(), image.getHeight()));
TextView tvMimeType = (TextView) view.findViewById(R.id.tvMimeType);
