Closed getsadzeg closed 5 years ago
Using the string formatter %s in pref_visualizer.xml(i.e. android:summary="%s") and then SetSummary instead of custom setPreferenceSummary might be considered.
pref_visualizer.xml
android:summary="%s"
SetSummary
setPreferenceSummary
Note: it sets the value though, not the label.
Using the string formatter %s in
pref_visualizer.xml
(i.e.android:summary="%s"
) and thenSetSummary
instead of customsetPreferenceSummary
might be considered.Note: it sets the value though, not the label.