AnsweredAssumed Answered

How can I perform multiple operations in a single applyEdits?

Question asked by ganjamc on Apr 24, 2017
Latest reply on Apr 25, 2017 by ganjamc

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.




Outcomes