Do Intent Extras Have To Be Removed?
This might be a stupid question, but is there a rule that states that intent extras have to be explicitly removed by the consuming activity, or is that only true if you're recyclin
Solution 1:
If you're planning to use the same Intent object but do not need (nor want) the extras, then you may remove them. If, instead, you want to call the start the same intent with the same extras, then keep them. Lastly, if the object is going to be destroyed, who cares about the extras?
In any case, I would decide on the caller activity, not on the receiver of the intent.
Post a Comment for "Do Intent Extras Have To Be Removed?"