From 0f2a57143438de0d86485c0eddd0e766ad2fcee5 Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sat, 18 Jul 2020 18:08:31 -0700 Subject: Update fast adapter --- app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt') diff --git a/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt b/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt index 5257be5e..746f0c1c 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/iitems/GenericIItems.kt @@ -83,7 +83,7 @@ open class HeaderIItem( val text: TextView by bindView(R.id.item_header_text) - override fun bindView(item: HeaderIItem, payloads: MutableList) { + override fun bindView(item: HeaderIItem, payloads: List) { text.setTextColor(prefs.accentColor) text.text = item.text text.setBackgroundColor(prefs.nativeBgColor) @@ -112,7 +112,7 @@ open class TextIItem( val text: TextView by bindView(R.id.item_text_view) - override fun bindView(item: TextIItem, payloads: MutableList) { + override fun bindView(item: TextIItem, payloads: List) { text.setTextColor(prefs.textColor) text.text = item.text text.background = createSimpleRippleDrawable(prefs.bgColor, prefs.nativeBgColor) -- cgit v1.2.3