I want to perform update and delete operation in a single applyEdits() call from my android application, my code is as below:
Thread.sleep(300);
layer.applyEdits(null, deletes, updates, new CallbackListener<FeatureEditResult[][]>() {
...
});
I am able to perform the desired operation only before applying a certain sleep interval, if not, the deletes array gets passed as empty, and therefore, the delete and update operations does not take place in a single transaction.
Please provide your inputs.