<?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: async methods in addin in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1248510#M9293</link>
    <description>&lt;P&gt;Does this sample do what you need?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk-community-samples/tree/master/Framework/Gallery" target="_self"&gt;arcgis-pro-sdk-community-samples/Framework/Gallery at master · Esri/arcgis-pro-sdk-community-samples (github.com)&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2023 17:35:15 GMT</pubDate>
    <dc:creator>Wolf</dc:creator>
    <dc:date>2023-01-16T17:35:15Z</dc:date>
    <item>
      <title>async methods in addin</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1245624#M9236</link>
      <description>&lt;P&gt;i see a lot of examples with queuedtask.run which is according to the documentation to let sync-methods of the SDK run in the background.&lt;/P&gt;&lt;P&gt;I made an custom gallery and want to populate data from Portal on the dropdownopened.&lt;/P&gt;&lt;P&gt;Then I run into statements like:&lt;/P&gt;&lt;P&gt;var results = await ArcGISPortalExtensions.SearchForContentAsync(portal, query);&lt;/P&gt;&lt;P&gt;How do I use those than properly inside the public async void DropdownOpened?&lt;/P&gt;&lt;P&gt;After the results are loaded I wanted to change some state-properties as well.&lt;/P&gt;&lt;P&gt;How will I be sure that the results are fully loaded first before the state change?&lt;/P&gt;&lt;P&gt;I tried many options already and I am not sure about any of them. In some cases nothing happens but the spinner is still visible and keeps on going.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:50:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1245624#M9236</guid>
      <dc:creator>Mannus_Etten</dc:creator>
      <dc:date>2023-01-05T15:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: async methods in addin</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1248510#M9293</link>
      <description>&lt;P&gt;Does this sample do what you need?&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk-community-samples/tree/master/Framework/Gallery" target="_self"&gt;arcgis-pro-sdk-community-samples/Framework/Gallery at master · Esri/arcgis-pro-sdk-community-samples (github.com)&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2023 17:35:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1248510#M9293</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-01-16T17:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: async methods in addin</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1249459#M9306</link>
      <description>&lt;P&gt;thanks, yeah looks good but still I do have some questions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mannus_Etten_0-1674138318786.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/60729iAE31F9C719521982/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mannus_Etten_0-1674138318786.png" alt="Mannus_Etten_0-1674138318786.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the button with the arrow can show a list of items. But the list is empty and the busy indicator will never go away... How can i hide the busy indicator and show for example a text 'no items available' ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second thing is the thumbnails. I marked in yellow the text 'meetvakken'. That is visible over the thumbnail.&lt;/P&gt;&lt;P&gt;If you open the gallery you see that meetvakken is an item without a thumbnail...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mannus_Etten_1-1674138434572.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/60730i6D3E9E10D11D0971/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Mannus_Etten_1-1674138434572.png" alt="Mannus_Etten_1-1674138434572.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i prevent that the title is placed over the thumbnails?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jan 2023 14:27:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/async-methods-in-addin/m-p/1249459#M9306</guid>
      <dc:creator>Mannus_Etten</dc:creator>
      <dc:date>2023-01-19T14:27:35Z</dc:date>
    </item>
  </channel>
</rss>

