Does putExtras() unarchive and then archive the extras again?

I'm working on an android application project, and I have a scenario where I send data between activities in the following order:

Activity1 sends two extras via the putExtra() method. Activity2 receives them, but never works with them. Then depending on a button user clicks I need to send the first extra from Activity1 to Activity3 OR the second extra from Activity1 to Activity4.

So, my question is - what would be better - to use directly putExtras() and send both extras to the following Activity3 or 4, or to unarchive the extras in Activity2 and send only the correct one to Activity3 or 4.

Thanks.

Answers


Depends on the amount of data, if it's minuscule then it doesn't matter and is worth saving the code clutter in your activity.


Need Your Help

Caesar Cipher: Correct encryption but output missing spaces and punctuations

c sorting encryption condition

I have been working on this since yesterday and after much struggle have managed to encrypt the message successfully. However, my output is missing spaces.

how to sum values at the same time getting all rows in mysql

mysql sum

İ have a video table named videos and here these are the columns :

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.