diff options
author | Allan Wang <me@allanwang.ca> | 2017-12-10 22:17:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-10 22:17:28 -0500 |
commit | 1269a026da6a4597f7123e310768e3377e8c63e8 (patch) | |
tree | 2a04154b8a05154ef3b1a427cf4c328c6a30ce8b /sample | |
parent | 63f7797e42972f5a56f9f50960074b02e1b6dd51 (diff) | |
download | kau-1269a026da6a4597f7123e310768e3377e8c63e8.tar.gz kau-1269a026da6a4597f7123e310768e3377e8c63e8.tar.bz2 kau-1269a026da6a4597f7123e310768e3377e8c63e8.zip |
fix/lint (#110)
* Remove nullability to match fastadapter
* Remove redundant override
Diffstat (limited to 'sample')
-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 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<PermissionCheckbox, PermissionCheckbox.ViewHolder>( R.layout.permission_checkbox, { ViewHolder(it) }) { - override fun bindView(holder: ViewHolder, payloads: MutableList<Any>?) { + override fun bindView(holder: ViewHolder, payloads: MutableList<Any>) { super.bindView(holder, payloads) holder.text.text = permission holder.checkbox.isChecked = holder.itemView.context.hasPermission(permission) |