I have an app where I am storing the usernames. Once the user clicks on his username, it goes to the login screen. Can it be done that the username be already inputted in the login screen. , so that the user only has to enter his password. Can we do so with Edittext?
Asked
Active
Viewed 1,089 times
1 Answers
1
Yes.
Use SharedPreferences to store previously entered data and setText on the EditText to set the text. Have a look at this.

Community
- 1
- 1

Austin Hanson
- 21,820
- 6
- 35
- 41
-
1can you please elaborate on this? I am not able to clearly understand from the link you gave me. – Umang Aug 09 '11 at 05:41