|
|
@ -25,14 +25,8 @@ class NameListPreference(context: Context, attrs: AttributeSet) : ListPreference |
|
|
|
|
|
|
|
|
|
|
|
override fun onBindViewHolder(holder: PreferenceViewHolder) { |
|
|
|
override fun onBindViewHolder(holder: PreferenceViewHolder) { |
|
|
|
val v = Preference.bindView<TextView>( |
|
|
|
val v = Preference.bindView<TextView>( |
|
|
|
context, |
|
|
|
context, holder, icon, title, summary, widgetLayoutResource, |
|
|
|
holder, |
|
|
|
R.id.text_view, isBottomBackground = isBottomBackground |
|
|
|
icon, |
|
|
|
|
|
|
|
title, |
|
|
|
|
|
|
|
summary, |
|
|
|
|
|
|
|
widgetLayoutResource, |
|
|
|
|
|
|
|
R.id.text_view, |
|
|
|
|
|
|
|
isBottomBackground = isBottomBackground |
|
|
|
|
|
|
|
) |
|
|
|
) |
|
|
|
if (v is TextView) { |
|
|
|
if (v is TextView) { |
|
|
|
v.text = entry |
|
|
|
v.text = entry |
|
|
|