From 33ad3ab71a06d6505c37b1e23f7d9a82db243c84 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 18 Jul 2020 17:08:50 -0700 Subject: Update fast adapter --- searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searchview/src/main/kotlin') diff --git a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchItem.kt b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchItem.kt index 78d8782..7be1c68 100644 --- a/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchItem.kt +++ b/searchview/src/main/kotlin/ca/allanwang/kau/searchview/SearchItem.kt @@ -78,7 +78,7 @@ class SearchItem( ) } - override fun bindView(holder: ViewHolder, payloads: MutableList) { + override fun bindView(holder: ViewHolder, payloads: List) { super.bindView(holder, payloads) holder.title.setTextColor(foregroundColor) holder.desc.setTextColor(foregroundColor.adjustAlpha(0.6f)) -- cgit v1.2.3