udacity / ud851-Exercises

Apache License 2.0
2.04k stars 6.81k forks source link

T06.08: setSummary instead of custom method #449

Closed getsadzeg closed 5 years ago

getsadzeg commented 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.

Note: it sets the value though, not the label.