Android: how to pass ArrayList<object> from an activity to another
问题 The object in the arraylist is defined in an external library. The object contains some int values and also a float[]. How can I pass all the ArrayList from an activity to another? Thanks! By the way, I do not have the control of the object class. 回答1: It depends on the type of object that's in the array list. If you have control over it and can have it implement Parcelable, then you can use Intent.putParcelableArrayListExtra . Another approach is to extend Application and store your