1

Store ImageView's in ArrayList and Stack Android

view story
linux-howto

http://stackoverflow.com – I am writing a card-game application. I represent the Deck of cards using an ArrayList<ImageView>, and i represent the "cards stacking up on the table"(For rollback purposes) in a Stack<ImageView>. How can I store the state of both the ArrayList<ImageView> and the Stack<ImageView> in order to pick up from where i left off earlier. I can only think of SharedPreferences, which only supports primitives and Sets. (HowTos)