From e9111feb62bf245309d1ffde9f8579195d8f6449 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Tue, 13 Feb 2018 16:53:41 -0500 Subject: Reorder final override (#136) --- adapter/src/main/kotlin/ca/allanwang/kau/iitems/KauIItem.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'adapter/src/main') 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( private val viewHolder: (v: View) -> VH, private val type: Int = layoutRes ) : AbstractItem() 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 -- cgit v1.2.3