Make the ArrayList public and static or use an Intent if you are about to start a new activity and send the ArrayList to it!
On Wed, Dec 5, 2012 at 3:40 AM, Guilherme Bernardi <[email protected] > wrote: > Hi > > Some days ago, I'm post here about a problem to control Tabs at the > SherlockActivityFragment. > Because I have 3 Tab (SherlockFragment) inside an SherlockActivityFragment > and all of them made one object, and I need to have the control about the 3 > tabs and doesn't lose the data and change or replace the tabs. > Well anyway I solved this problem with a Adapter and > ArrayList<SherlockFragment>, but now my Tab's(2 and 3) use the same kind of > data. > > And how can I pass this ArrayList to another SherlockActivityFragment when > I change the tab? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

