Wednesday, August 29, 2012

[android-developers] Merging Bundles

I want to merge two Bundles in my app.  I see that there's a putAll method in the Bundle that I could use.  How does this method handle duplicate keys?  Most of the two bundles will be duplicates, I'm doing the merge to combine the unique data between the two into one single Bundle containing everything.  Does the putAll overwrite, discard, or explode on duplicates?

Thanks.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment