<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I perform multiple operations in a single applyEdits? in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91403#M681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update operation was whatever you are doing to update the arrays. &amp;nbsp;How many items are you trying to delete at once? &amp;nbsp;What is the last call that you do before calling apply edits?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Apr 2017 13:05:55 GMT</pubDate>
    <dc:creator>AlexanderNohe1</dc:creator>
    <dc:date>2017-04-25T13:05:55Z</dc:date>
    <item>
      <title>How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91398#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;I want to perform update and delete operation in a single applyEdits() call from my android application, my code is as below:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;Thread.sleep(300); &lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;layer.applyEdits(null, deletes, updates, new CallbackListener&amp;lt;FeatureEditResult[][]&amp;gt;() { ... });&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #242729; background-color: rgba(248, 248, 248, 0.6);"&gt;&lt;SPAN&gt;Please provide your inputs.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;
&lt;/CODE&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:29:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91398#M676</guid>
      <dc:creator>Krishna_ChaitanyaGanjam</dc:creator>
      <dc:date>2021-12-10T23:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91399#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which version of the runtime are you working with?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 12:51:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91399#M677</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-04-24T12:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91400#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is :&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #008000; font-weight: bold;"&gt;com.esri.arcgis.android:arcgis-android:10.2.6-2&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Apr 2017 13:04:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91400#M678</guid>
      <dc:creator>Krishna_ChaitanyaGanjam</dc:creator>
      <dc:date>2017-04-24T13:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91401#M679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend updating to the latest 10.2.9 runtime as this has many security and vulnerability fixes included with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you perhaps updating the array asynchronously and not waiting for the update operation to finish before calling applyEdits()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Alexander&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91401#M679</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-04-25T12:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91402#M680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Even after updating to the latest version (10.2.9), the problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not performing any asynchronous operation before calling applyEdits(). My 'updates' and 'deletes' arrays are formed completely before passing it to the applyEdits().&lt;/P&gt;&lt;P&gt;I still wonder as to which of the 'update' operation you are referring to?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 12:58:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91402#M680</guid>
      <dc:creator>Krishna_ChaitanyaGanjam</dc:creator>
      <dc:date>2017-04-25T12:58:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91403#M681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Update operation was whatever you are doing to update the arrays. &amp;nbsp;How many items are you trying to delete at once? &amp;nbsp;What is the last call that you do before calling apply edits?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91403#M681</guid>
      <dc:creator>AlexanderNohe1</dc:creator>
      <dc:date>2017-04-25T13:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: How can I perform multiple operations in a single applyEdits?</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91404#M682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am simply populating the&amp;nbsp;update and delete arrays using two local methods which doesn't include any async call. It is using the locally stored Hashmap which has details of the graphics that I need to update/delete. There are almost 2-3 object id's that I am passing for deletion.&lt;/P&gt;&lt;P&gt;Moreover, I verified (performing debugging) that the updates and deletes arrays are having sufficient (or correct) data needed for a successful applyEdits operation. Also, the applyEdits works fine, but with a significant amount of delay which is what I am trying to avoid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Apr 2017 13:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-perform-multiple-operations-in-a-single/m-p/91404#M682</guid>
      <dc:creator>Krishna_ChaitanyaGanjam</dc:creator>
      <dc:date>2017-04-25T13:12:31Z</dc:date>
    </item>
  </channel>
</rss>

