1
Good evening, I have some information saved in Sharedpreferences(email and password) and need to recover them in several places for use. I created a Fragment so the user can 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, but how can I do for example recover the email information (pref_user_email)? Grateful.