diff --git a/easyPhotos/src/main/java/com/huantansheng/easyphotos/models/album/entity/Photo.java b/easyPhotos/src/main/java/com/huantansheng/easyphotos/models/album/entity/Photo.java index 3f644a34..528d0f0c 100644 --- a/easyPhotos/src/main/java/com/huantansheng/easyphotos/models/album/entity/Photo.java +++ b/easyPhotos/src/main/java/com/huantansheng/easyphotos/models/album/entity/Photo.java @@ -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;//用户选择时是否选择了原图选项 diff --git a/sample/src/main/java/com/huantansheng/easyphotos/sample/MainAdapter.java b/sample/src/main/java/com/huantansheng/easyphotos/sample/MainAdapter.java index 5d047c61..a01a3a66 100644 --- a/sample/src/main/java/com/huantansheng/easyphotos/sample/MainAdapter.java +++ b/sample/src/main/java/com/huantansheng/easyphotos/sample/MainAdapter.java @@ -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