Good evening, I have some information saved in SharedPreferences (email and password) and need to retrieve them in several places for use. I created a fragment for the user to save the screen:
<?xml version="1.0" encoding="utf-8"?>
<EditTextPreference
android:key="@string/pref_user_email"
android:title="Email"
android:inputType="textEmailAddress"/>
<EditTextPreference
android:key="@string/pref_user_password"
android:title="Senha"
android:inputType="textPassword"/>
This is working perfectly, however how can I do for example retrieve email info (pref_user_email)? Thankful.