Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Android programming

Name: Anonymous 2012-05-19 11:13

need help from any android fags.  I have a class that extends Activity that has a field which is an ArrayList. The arraylist gets populated by a different Activity.  My problem is that when ever the Activity with the arraylist field starts a new activity the GC reallocates all the fields.  Ive tried making the field static along with a few other things.  Any one know what the actual fuck?

Name: Anonymous 2012-05-19 15:40

>>1
do NOT use statics in android.
also, use intents to communicate data across activity boundaries.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List