I have 2 dimensions array like this:
public myArrayType[][] mObjArray;

I want to save it in the onSaveInstanceState method, since my array
contains lot of elements I dont want to save element by element but
the whole array object, what is the best way?

I tried this but exception is thrown:

---------------------------------------------------------

 public Bundle saveState(Bundle map) {

        if (map != null) {
                map.putSerializable("objLevel", (Serializable)
mCurrentLevelMatrix);
        }

        return map;
    }

-------------------------------------------------------

I have seen a putParcelableArrayList method but dunno how it works
exactly.

-- 
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

Reply via email to