Saturday, April 20, 2013

[android-developers] Could re-use your insight! what is the meaning of PARCELABLE_WRITE_RETURN_VALUE

The api docs cryptically states two things

1. You can use this to close resources held by the object being written
2. The object being written is a "Parcelable" returned by some function

When does one use this flag correctly?

Perhaps I could use this flag simply to indicate to close a resource whether this object has been previously returned by a function or not.

Or I could use this flag to say I am trying to re-parcel something that has just been unparceled. I could see some uses where if I know that this is already an unparceled object then I might create proxies slightly differently.

Appreciate if you can share your better or alternate understanding of this

thanks
Satya

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment