diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-10 22:17:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 22:17:28 -0500 |
commit | 1269a026da6a4597f7123e310768e3377e8c63e8 (patch) | |
tree | 2a04154b8a05154ef3b1a427cf4c328c6a30ce8b /mediapicker/src/main/kotlin/ca | |
parent | 63f7797e42972f5a56f9f50960074b02e1b6dd51 (diff) | |
download | kau-1269a026da6a4597f7123e310768e3377e8c63e8.tar.gz kau-1269a026da6a4597f7123e310768e3377e8c63e8.tar.bz2 kau-1269a026da6a4597f7123e310768e3377e8c63e8.zip |
fix/lint (#110)
* Remove nullability to match fastadapter
* Remove redundant override
Diffstat (limited to 'mediapicker/src/main/kotlin/ca')
-rw-r--r-- | mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt | 2 |
1 files changed, 1 insertions, 1 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 5910650..6171470 100644 --- a/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt +++ b/mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt @@ -26,7 +26,7 @@ class MediaActionItem( override fun isSelectable(): Boolean = false - override fun bindView(holder: MediaItemBasic.ViewHolder, payloads: MutableList<Any>?) { + override fun bindView(holder: MediaItemBasic.ViewHolder, payloads: MutableList<Any>) { super.bindView(holder, payloads) holder.image.apply { setImageDrawable(MediaPickerCore.getIconDrawable(context, action.iicon(this@MediaActionItem), action.color)) |