AbAppletic AbAppletic - 1 month ago 7
Android Question

Parse.com saveInBackground doesn't have progressCallback?

If I use this code:

object.saveInBackground(new SaveCallback(){
@Override
public void done(ParseException e){
...
}, new ProgressCallback(){
@Override0
public void done(Integer percentDone){
...
}
}


I get a
cannot resolve method
for ProgressCallback, by, which I understood, means that SaveCallback doesn't have a ProgressCallback. So, is there a way I could fix this?

Answer

SaveInBackground() does not have a ProgressCallback. There is no way you can implement it other than creating your own ProgressBar and creating your own loading logic, which is pretty hard to implement.