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 --- sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/src/main/kotlin/ca') 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( - R.layout.permission_checkbox, R.layout.permission_checkbox, { ViewHolder(it) }) { + R.layout.permission_checkbox, { ViewHolder(it) }) { override fun bindView(holder: ViewHolder, payloads: MutableList?) { super.bindView(holder, payloads) -- cgit v1.2.3