you may use OnPreferenceChangeListener to catch the user input and validate, possibly preventing it from being written to the Preferences by returning true/false.
Security feature: EditTextPreference no bigger then 100?
-
29-03-2022 - |
Domanda
Is it possible in Android to limit what is the maximum and minimum number that user can input in EditTextPreference
?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow