can i store two or more values with same key using SharedPreferences in android?
android, sharedpreferences
Solution
You cannot store these values directly (as ones added latter will overwrite previously added) but you can always store `Parcelable` and put your data into it
Problem
can i store two or more values with same key using SharedPreferences in android? If no, please tell me how to store values of username, first name, password etc when many users register in registration app? Ex: ``` person A registered with username="john12", first name="john" and DOB="06/06/2000". person B registered with username="arun89", first name="arun" and DOB="08/11/1989". ``` Now, I want to store these values in SharedPreferences and retrieve them later. Is it possible using SharedPreferences? If not, Please tell me how to do in other way. Thank you in advance.