From f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Fri, 7 Jul 2017 15:29:35 -0700 Subject: Update kauIItem for optional id --- imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItem.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'imagepicker/src/main') diff --git a/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItem.kt b/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItem.kt index 7b55c58..0b13a30 100644 --- a/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItem.kt +++ b/imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItem.kt @@ -10,9 +10,7 @@ import ca.allanwang.kau.utils.bindView * Created by Allan Wang on 2017-07-04. */ class ImageItem(data:String) - : KauIItem(R.layout.kau_iitem_card, R.layout.kau_iitem_card, { ViewHolder(it) }) { - - + : KauIItem(R.layout.kau_iitem_card, { ViewHolder(it) }) { class ViewHolder(v: View) : RecyclerView.ViewHolder(v) { val image: ImageView by bindView(R.id.kau_image) -- cgit v1.2.3