At the moment, I have two Activities (Activity A and B). At the
Activity A I customize a button and pass it on Activity B via an
intent. On Activity B I move the button somewhere on the screen. This
will be done with other buttons. So I want to save some attributes of
a button like height, width and alignment.

I tried to save them in an ArrayList but everytime I access the
ArrayList after changing back from Activity B to Activity A to create
a second button, the ArrayList is empty.

How could I achieve the ArrayList isn't loosing it's items ?
I think the worst idea is, to make an Intent with that ArrayList
sending it to Activity A.The List is getting bigger and bigger and I
start to loose performance.

Any suggestion how this can be solved ?

I would be deeply grateful and thanks in advance !

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to