KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a general question here about performance, and which of which should I do and which I should not use. I am actually using in my App two activities, let us call "theFirst" and "theSecond" activity. In theFirst activity I have a public static object, in my case, its a list of a custom object made by me, called Conjunction. When I call the theSecond activity I want to get the content of this list. So should I use the public static variable ? is there any problem? There will be only one instance of theFirst activity right? So no problem using public static variable..? I guess. Or should I compute the entire list and put the information on a big String and send it to theSecond activity using the putExtra method? A good explanation on this would be very good and I would really appreciate it :)
Tags (comma-separated)
Save Edits
Cancel