PreviewImageInfo

constructor(type: Int, width: Int, height: Int, source: T, mime: String)

Parameters

type
width

图片宽高

height
source

与type想对应,比如SourceType.URI则为Uri,SourceType.RESOURCE_ID则为Integer

mime

例如 image/png


constructor(type: Int, width: Int, height: Int, source: T, mime: String, thumbnailKey: String?)