I have a list of objects which need to persist should the user minimize the app. Is there any way to do this without using SharedPreferences or an SQLite database (seems like overkill for a single list)?
Ok so I have an array list of objects, with similar fields but different data populating them. What would be the most EFFICIENT way to go through the list and check to see if one of the objects attributes field matches another?
In my app i want to add a new feature that consist in having a list of object's bought by the user. So, when the user buy something he add's that object to the list. Later, if he starts the app again,there should be all the items added in the list.
The object will have some parameters (name, bought date, price, etc etc).
I am newer to Android, but I am attempting to use GSON to parse JSON into a series of objects that upon click of a list item will pass that respective object to use for the detailed view of the list item. The JSON is relatively simple as:
But I do not understand how to allow for the entire JSON list, potentialy 50+ different JSON objects, ie.
i have a query which gives me the list of the parse object which i want to store in my sqlite database but my parseobject has images to so i am using fileobject.getDataInBackground to retrieve the images as soon i get the data from P**ublic void done(byte data, ParseException e)** i run my sqlite query to save all the data to my database but it will only enter the last value in my sqlite datab