aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/kotlin/ca
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-07 15:29:35 -0700
committerAllan Wang <me@allanwang.ca>2017-07-07 15:29:35 -0700
commitf0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1 (patch)
tree5c89f04b3f59c2efeab28826f0559bdd326dbbdf /sample/src/main/kotlin/ca
parent3dd7fceba150b80fa1cba8102ee1b3f1bbf2948e (diff)
downloadkau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.tar.gz
kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.tar.bz2
kau-f0237ca8dd0e4ad4c1873f5951099cf03b5f0dd1.zip
Update kauIItem for optional id
Diffstat (limited to 'sample/src/main/kotlin/ca')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt2
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)