diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-07 15:29:35 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-07-07 15:29:35 -0700 |
commit | f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1 (patch) | |
tree | 5c89f04b3f59c2efeab28826f0559bdd326dbbdf /imagepicker/src | |
parent | 3dd7fceba150b80fa1cba8102ee1b3f1bbf2948e (diff) | |
download | kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.tar.gz kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.tar.bz2 kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.zip |
Update kauIItem for optional id
Diffstat (limited to 'imagepicker/src')
-rw-r--r-- | imagepicker/src/main/kotlin/ca/allanwang/kau/imagepicker/ImageItem.kt | 4 |
1 files changed, 1 insertions, 3 deletions
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<ImageItem, ImageItem.ViewHolder>(R.layout.kau_iitem_card, R.layout.kau_iitem_card, { ViewHolder(it) }) { - - + : KauIItem<ImageItem, ImageItem.ViewHolder>(R.layout.kau_iitem_card, { ViewHolder(it) }) { class ViewHolder(v: View) : RecyclerView.ViewHolder(v) { val image: ImageView by bindView(R.id.kau_image) |