aboutsummaryrefslogtreecommitdiff
path: root/mediapicker/src/main
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-12-10 22:17:28 -0500
committerGitHub <noreply@github.com>2017-12-10 22:17:28 -0500
commit1269a026da6a4597f7123e310768e3377e8c63e8 (patch)
tree2a04154b8a05154ef3b1a427cf4c328c6a30ce8b /mediapicker/src/main
parent63f7797e42972f5a56f9f50960074b02e1b6dd51 (diff)
downloadkau-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')
-rw-r--r--mediapicker/src/main/kotlin/ca/allanwang/kau/mediapicker/MediaActionItem.kt2
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))