Skip to content

Commit

Permalink
2.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
HuanTanSheng committed Jan 30, 2018
1 parent 031d6e3 commit d641da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class Photo implements Parcelable {
public int width;//图片宽度
public int height;//图片高度
public long size;//图片文件大小,单位:Bytes
public long time;//图片最后修改时间戳,单位:
public long time;//图片拍摄的时间戳,单位:毫秒
public boolean selected;//是否被选中,内部使用,无需关心
public boolean selectedOriginal;//用户选择时是否选择了原图选项

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public MainVH onCreateViewHolder(ViewGroup parent, int viewType) {
public void onBindViewHolder(MainVH holder, int position) {
Photo photo = list.get(position);
mGlide.load(photo.path).into(holder.ivPhoto);
holder.tvMessage.setText("[图片名称]: "+photo.name+"\n[宽]:"+photo.width+"\n[高]:"+photo.height+"\n[文件大小,单位bytes]:"+photo.size+"\n[日期,时间戳,]:"+photo.time+"\n[图片地址]:"+photo.path+"\n[图片类型]:"+photo.type+"\n[是否选择原图]:"+photo.selectedOriginal);
holder.tvMessage.setText("[图片名称]: "+photo.name+"\n[宽]:"+photo.width+"\n[高]:"+photo.height+"\n[文件大小,单位bytes]:"+photo.size+"\n[日期,时间戳,毫秒]:"+photo.time+"\n[图片地址]:"+photo.path+"\n[图片类型]:"+photo.type+"\n[是否选择原图]:"+photo.selectedOriginal);
}

@Override
Expand Down

0 comments on commit d641da8

Please sign in to comment.