From 1269a026da6a4597f7123e310768e3377e8c63e8 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 10 Dec 2017 22:17:28 -0500 Subject: fix/lint (#110) * Remove nullability to match fastadapter * Remove redundant override --- sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sample/src') 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 21aa713..3dba332 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/PermissionCheckbox.kt @@ -14,7 +14,7 @@ import ca.allanwang.kau.utils.hasPermission class PermissionCheckbox(val permission: String) : KauIItem( R.layout.permission_checkbox, { ViewHolder(it) }) { - override fun bindView(holder: ViewHolder, payloads: MutableList?) { + override fun bindView(holder: ViewHolder, payloads: MutableList) { super.bindView(holder, payloads) holder.text.text = permission holder.checkbox.isChecked = holder.itemView.context.hasPermission(permission) -- cgit v1.2.3