diff options
author | Allan Wang <me@allanwang.ca> | 2020-07-18 18:18:16 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-18 18:18:16 -0700 |
commit | fd95fb5d4fdbf3d25081cb4f5de101d3edd89731 (patch) | |
tree | 9cdda7e1eb087f8507364c8f389f65961ed25066 /mediapicker | |
parent | ceed2ade66042d45a08767171385124c66255249 (diff) | |
parent | 271c72b1fc99cf0862dcae9fdf7310b5ffeb4ddc (diff) | |
download | kau-fd95fb5d4fdbf3d25081cb4f5de101d3edd89731.tar.gz kau-fd95fb5d4fdbf3d25081cb4f5de101d3edd89731.tar.bz2 kau-fd95fb5d4fdbf3d25081cb4f5de101d3edd89731.zip |
Merge pull request #257 from AllanWang/versions6.0.0
Diffstat (limited to 'mediapicker')
3 files changed, 3 insertions, 3 deletions
diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt index 552bf0f..636dcf0 100644 --- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt +++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt @@ -46,7 +46,7 @@ class MediaActionItem( get() = false set(_) {} - override fun bindView(holder: MediaItemBasic.ViewHolder, payloads: MutableList<Any>) { + override fun bindView(holder: MediaItemBasic.ViewHolder, payloads: List<Any>) { super.bindView(holder, payloads) holder.image.apply { setImageDrawable( diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt index 88a304f..86cb367 100644 --- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt +++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItem.kt @@ -54,7 +54,7 @@ class MediaItem(val data: MediaModel) : get() = !failedToLoad set(_) {} - override fun bindView(holder: ViewHolder, payloads: MutableList<Any>) { + override fun bindView(holder: ViewHolder, payloads: List<Any>) { super.bindView(holder, payloads) glide(holder.itemView) .load(data.data) diff --git a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt index e801848..6f0d223 100644 --- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt +++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaItemBasic.kt @@ -52,7 +52,7 @@ class MediaItemBasic(val data: MediaModel) : get() = false set(_) {} - override fun bindView(holder: ViewHolder, payloads: MutableList<Any>) { + override fun bindView(holder: ViewHolder, payloads: List<Any>) { super.bindView(holder, payloads) glide(holder.itemView) .load(data.data) |