aboutsummaryrefslogtreecommitdiff
path: root/imagepicker/src
diff options
context:
space:
mode:
Diffstat (limited to 'imagepicker/src')
-rw-r--r--imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItemBasic.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItemBasic.kt b/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItemBasic.kt
index 62a0b09..bc2a4e1 100644
--- a/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItemBasic.kt
+++ b/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItemBasic.kt
@@ -29,7 +29,7 @@ class ImageItemBasic(val data: ImageModel)
fun bindEvents(activity: Activity, fastAdapter: FastAdapter<ImageItemBasic>) {
fastAdapter.withSelectable(false)
//add image data and return right away
- .withOnClickListener { v, _, item, _ ->
+ .withOnClickListener { _, _, item, _ ->
val intent = Intent()
val data = arrayListOf(item.data)
intent.putParcelableArrayListExtra(IMAGE_PICKER_RESULT, data)