I created a puzzle-game in which tiles can be shuffled to recreate an image. The app is nearly finished except for the part where I save the data so the game can be continued when the app is restarted. I found some information about SharedPreferences, but I understand it's not possible to save a List with it. I have an Integer List with the indices of the puzzle-pieces, which needs to be saved. I tried converting the List to a string and retrieving that, but it went bad and messed up my whole program. I'm not skilled enough to fix it, so I am reaching out to you. My question therefore is, how do I save my List of integers?
Sorry in advance if the question has been asked before, I have been looking on the internet for over two hours and I really need some help. :)