I'm creating an Android app that uses Preferences. One of the types of preferences that I'm using is the EditTextPreference that brings up a default Android dialog modal with a text input and OK and Cancel buttons.
I want to give users the option to clear out ALL stored values from the list preferences and I cannot find a way to clear out the value for this EditTextPreference.
The way I can test it for now is by clearing it on the OnCreate method override but in the future, I'm going to have it clear it out when a user clicks a button.
So, question: How do you clear out the stored value for an EditTextPreference in Android? I want to remove whatever value that is being saved.
Every time I launch the app (even after clearing it from Memory), whatever last value I entered comes back.