I retrieve an array from a bundle, using getDoubleArray(). I then use
that instance of the array in my code, without copying it.

I'm guessing Bundle is a low-overhead class, and gives me its instance
of the array, rather than making a copy for every getDoubleArray()
call?

I'm using Bundle as an intermediary in my code (not just receiving it
on startup).
Will changes I make to the retrieved array be reflected in the array
that was passed into putDoubleArray() when I built the bundle?

The documentation doesn't specify what happens here. Do we have any
guarantees of behaviour over future versions?

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to