I am trying to clear the edit text field that belongs to another class from another class. How to do this? Example i want to clear the edit text username which is in the Login class from the registration class. I am new to android
Share
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.
Clear edittext values by calling et.settext(“”). Just after successfully login from the same Activity..
This way u dont need to do it from diff class…