How do we validate values input into the EditBoxPrefence ?
For example user enters a directory name like
myfolder// or /myfolder or
I want to trim any slashes and then store the value for the preference
How is it possible ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you could test the value and tell the user something is wrong:
or do whatever you want