diff options
author | Allan Wang <me@allanwang.ca> | 2018-02-13 16:53:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-13 16:53:41 -0500 |
commit | e9111feb62bf245309d1ffde9f8579195d8f6449 (patch) | |
tree | d99509f5759b542484e4663e8a6d33b92a74057f /adapter/src/main | |
parent | cdb1bd6eec2c90abc9d3d982814552443c7fc3b2 (diff) | |
download | kau-e9111feb62bf245309d1ffde9f8579195d8f6449.tar.gz kau-e9111feb62bf245309d1ffde9f8579195d8f6449.tar.bz2 kau-e9111feb62bf245309d1ffde9f8579195d8f6449.zip |
Reorder final override (#136)
Diffstat (limited to 'adapter/src/main')
-rw-r--r-- | adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt b/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt index 335b89c..7918a26 100644 --- a/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt +++ b/adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt @@ -18,8 +18,8 @@ open class KauIItem<Item, VH : RecyclerView.ViewHolder>( private val viewHolder: (v: View) -> VH, private val type: Int = layoutRes ) : AbstractItem<Item, VH>() where Item : IItem<*, *>, Item : IClickable<*> { - override final fun getType(): Int = type - override final fun getViewHolder(v: View): VH = viewHolder(v) - override final fun getLayoutRes(): Int = layoutRes + final override fun getType(): Int = type + final override fun getViewHolder(v: View): VH = viewHolder(v) + final override fun getLayoutRes(): Int = layoutRes }
\ No newline at end of file |