I've been trying and searching how to store user input in an ArrayList of custom object. I've tried onSaveInstancestate with my custom object implement Parcelable. I have an activity for user input, this input goes into my custom object and then put into an ArrayList. I pass the arrayList from one activity to the other where i have an Listview that i wanna fill with the objects from my ArrayList. This all works fine but, when i go back to the activity to give new input it replaces the old. So it doesnt save the objects in the arrayList. Am I using the wrong tool and should I use SQLite instead? Or maybe, because I'm new to coding, i have missed something obvious that prevents it from working correctly.
I thought this "Saving Array In Activity" was going to be helpful so I used it but because Im not using a string object but my own object it might not for me?