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 /sample/src/main | |
parent | 3dd7fceba150b80fa1cba8102ee1b3f1bbf2948e (diff) | |
download | kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.tar.gz kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.tar.bz2 kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.zip |
Update kauIItem for optional id
Diffstat (limited to 'sample/src/main')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt index c1b1865..21aa713 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt @@ -12,7 +12,7 @@ import ca.allanwang.kau.utils.hasPermission * Created by Allan Wang on 2017-07-03. */ class PermissionCheckbox(val permission: String) : KauIItem<PermissionCheckbox, PermissionCheckbox.ViewHolder>( - R.layout.permission_checkbox, R.layout.permission_checkbox, { ViewHolder(it) }) { + R.layout.permission_checkbox, { ViewHolder(it) }) { override fun bindView(holder: ViewHolder, payloads: MutableList<Any>?) { super.bindView(holder, payloads) |