I'm developing an application in a college project and I'm creating the control part, I will not mess with the server part for now because I do not know much about it.
I am creating functions to generate some Arrays
with the items of my application so that I can do tests, except that whenever the application is closed, this data is lost. I was reading about Shared Preferences , which can be used to store small amounts of data, and saw that I can use JSON to create the Arrays
.
My question is whether it will really solve my problem and if it is a good idea to do so. I had been thinking of storing it on file but my advisor had already mentioned that we would use JSON to exchange data with the server, so I do not think it would be work thrown away.