What is the best way to transfer bulk of data (i.e. objects) from one Activity to another Activity in Android?
Note
Do putextra or getextra fulfill this thing? Because I have bulk of objects to transfer.
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 can put your
Objects into aSerializableand insert them into aBundle, then attach theBundleto yourActivityand pass it through, retrieving it and unserializing it in the nextActivity.