diff options
author | Allan Wang <me@allanwang.ca> | 2017-10-11 14:17:27 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-11 14:17:27 -0400 |
commit | b87c75d607956393ad3b07751eb59ccf41726863 (patch) | |
tree | 28d580e11e1befcc3895f46f52b03966f0f922ec /adapter/src/main/kotlin/ca/allanwang | |
parent | ff597a7ef456fcb37160fa7a46b45296098ca413 (diff) | |
download | kau-b87c75d607956393ad3b07751eb59ccf41726863.tar.gz kau-b87c75d607956393ad3b07751eb59ccf41726863.tar.bz2 kau-b87c75d607956393ad3b07751eb59ccf41726863.zip |
fix/misc (#81)
* Remove jvmstatic, fixes #68
* Create HO logging
* Remove double null boolean notation
* Replace multi if else with when
* Ignore case in setSpan, closes #82
Diffstat (limited to 'adapter/src/main/kotlin/ca/allanwang')
-rw-r--r-- | adapter/src/main/kotlin/ca/allanwang/kau/iitems/CardIItem.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/iitems/CardIItem.kt b/adapter/src/main/kotlin/ca/allanwang/kau/iitems/CardIItem.kt index eb658df..9865c70 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/iitems/CardIItem.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/iitems/CardIItem.kt @@ -31,7 +31,7 @@ class CardIItem( ), ThemableIItem by ThemableIItemDelegate() { companion object { - @JvmStatic fun bindClickEvents(fastAdapter: FastAdapter<IItem<*, *>>) { + fun bindClickEvents(fastAdapter: FastAdapter<IItem<*, *>>) { fastAdapter.withEventHook(object : ClickEventHook<IItem<*, *>>() { override fun onBindMany(viewHolder: RecyclerView.ViewHolder): List<View>? { return if (viewHolder is ViewHolder) listOf(viewHolder.card, viewHolder.button) else null |