Parse.com Saveallinbackground Doesn't Work Inside Deleteallinbackground
I am trying to save a list of parseobjects using save all in background. To avoid duplices in the table, I am querying for the already existing rows and deleting them if any and sa
Solution 1:
- query.fromPin();- this might be using your local datastore, not sure
- ParseObject.saveAllInBackground(localList...make sure that localList is not empty. I have a suspicion it is when you call the save method.
- First two queries dublicate themselves, just make this query instead of those two: - ParseQuery query = new ParseQuery("PostChoice"); query.whereEqualTo("user",ParseUser.getCurrentUser());
- im not sure, but there might be a limit to nesting bacground callbacks. You might try to call a method in your activity class from one of the callbacks, that continues the chain.
Post a Comment for "Parse.com Saveallinbackground Doesn't Work Inside Deleteallinbackground"