How add in items inside my onSavedInstance such as a completely different class such as a hashmap with multiple items inside it.
How would we be able to achieve this?
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.
HashMapimplementsSerializable, so as long as both your key and value types are also serializable, you can put your entire map in the Bundle.