what is the easyest or native way to save a list of objects in a android application?
i need to save it and then load it when the app starts again.
would be nice maybe someone have a ready to use library which makes everything for me.
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.
Let your items stored in the
LinkedListimplementParcelableso you can put them in yourbundle. The inonSaveInstanceyou can put your objects in thebundleusing:and in
onRestoreInstanceStateof yourActivityget the data back from thatbundleusing :