<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0">
    <channel>
        <title><![CDATA[FlutterFlow Community - Displaying a Firebase Collection (type = Stirng/List) in a ListView]]></title>
        <description><![CDATA[Hi,

I have a workflow set up where a list/string of names (generated by an api) are stored in a Firebase collection. I have followed various tutorials that show how to display documents stored as a ...]]></description>
        <link>https://community.flutterflow.io</link>
        <image>
            <url>https://tribe-s3-production.imgix.net/NCmwtgDmGjm8Ke1dLDq9A?fit=max&amp;w=500&amp;auto=compress,format</url>
            <title>FlutterFlow Community - Displaying a Firebase Collection (type = Stirng/List) in a ListView</title>
            <link>https://community.flutterflow.io</link>
        </image>
        <generator>Bettermode RSS Generator</generator>
        <lastBuildDate>Fri, 03 Apr 2026 23:37:36 GMT</lastBuildDate>
        <atom:link href="/rss/post/Rf0XS7qVKw8pPD6/replies" rel="self" type="application/rss+xml"/>
        <pubDate>Fri, 03 Apr 2026 23:37:36 GMT</pubDate>
        <copyright><![CDATA[2026 FlutterFlow Community]]></copyright>
        <language><![CDATA[en-us]]></language>
        <ttl>60</ttl>
        <webfeeds:icon>https://tribe-s3-production.imgix.net/NCmwtgDmGjm8Ke1dLDq9A?fit=max&amp;w=500&amp;auto=compress,format</webfeeds:icon>
        <webfeeds:related layout="card" target="browser"/>
        <item>
            <title><![CDATA[Can you send the link to the flutterflow editor?]]></title>
            <description><![CDATA[Can you send the link to the flutterflow editor?

]]></description>
            <link>https://community.flutterflow.io/backend-r4n7ajk7/post/can-you-send-the-link-to-the-flutterflow-editor-VeBOgypjcATbig4</link>
            <guid isPermaLink="true">https://community.flutterflow.io/backend-r4n7ajk7/post/can-you-send-the-link-to-the-flutterflow-editor-VeBOgypjcATbig4</guid>
            <dc:creator><![CDATA[Reinan Oliveira]]></dc:creator>
            <pubDate>Thu, 04 Jan 2024 12:33:13 GMT</pubDate>
            <content:encoded><![CDATA[<p>Can you send the link to the flutterflow editor?</p><p></p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hi Reinan Oliveira thanks so much for the reply and apologies for the delay in ...]]></title>
            <description><![CDATA[Hi Reinan Oliveira thanks so much for the reply and apologies for the delay in responding. I think I have got to the bottom of this and the root of the problem was my lack of understanding of how ...]]></description>
            <link>https://community.flutterflow.io/backend-r4n7ajk7/post/hi-reinan-oliveira-thanks-so-much-for-the-reply-and-apologies-for-the-KmemhdahEBmvucv</link>
            <guid isPermaLink="true">https://community.flutterflow.io/backend-r4n7ajk7/post/hi-reinan-oliveira-thanks-so-much-for-the-reply-and-apologies-for-the-KmemhdahEBmvucv</guid>
            <dc:creator><![CDATA[Jon Paul]]></dc:creator>
            <pubDate>Sat, 06 Jan 2024 20:48:58 GMT</pubDate>
            <content:encoded><![CDATA[<p>Hi <a class="text-interactive hover:text-interactive-hovered" data-id="2LPa3vQ0Dh" data-type="mention">Reinan Oliveira</a> thanks so much for the reply and apologies for the delay in responding. I <em>think</em> I have got to the bottom of this and the root of the problem was my lack of understanding of how Firebase works. I have now got it to work. <br><br>Just in case someone else stumbles across this post, I made it work by:<br>Selecting my text field as the variable<br>As part of my action/workflow saving my lists as App States<br>Referencing those App States for the lists I want to show </p><p>Selecting 'Item at Index'<br>Selecting 'Specific Index'<br>Adding the Variable 'Index to List'<br><br>Caveat being: I am very new to this and while that works for my needs I have no idea if that is the best or right way!<br><br>Thanks <br>JP<br></p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hi JP, another way of doing this is merging lists from all the queried documents...]]></title>
            <description><![CDATA[Hi JP, another way of doing this is merging lists from all the queried documents into a single list, then giving that merged list to the list view to treat as one list.

Here are two approaches:

You'll ...]]></description>
            <link>https://community.flutterflow.io/backend-r4n7ajk7/post/hi-jp-another-way-of-doing-this-is-merging-lists-from-all-the-queried-NhTkr9tdkdC09fv</link>
            <guid isPermaLink="true">https://community.flutterflow.io/backend-r4n7ajk7/post/hi-jp-another-way-of-doing-this-is-merging-lists-from-all-the-queried-NhTkr9tdkdC09fv</guid>
            <dc:creator><![CDATA[Bilal]]></dc:creator>
            <pubDate>Sat, 06 Jan 2024 22:03:32 GMT</pubDate>
            <content:encoded><![CDATA[<p>Hi JP, another way of doing this is merging lists from all the queried documents into a single list, then giving that merged list to the list view to treat as one list.</p><p><strong>Here are two approaches:</strong></p><p>You'll need a simple custom function, here's example code:</p><pre><code>List&lt;String&gt; mergeList(
  List&lt;String&gt; list1,
  List&lt;String&gt; list2,
  List&lt;String&gt; list3,
) {

  List&lt;String&gt; result = [];

  result.addAll(list1);
  result.addAll(list2);
  result.addAll(list3);

  return result;

}</code></pre><p>Just pass all the lists from the backend query to the function, then generate children from variable in the list view using the result.</p><p>The above is a function I personally use.</p><p>Below is a modified version of that function that might suit you better. It takes the list of documents from the backend query as a parameter, extracts the property that has the list of strings (<em>nameList</em>), and merges them all in to a single list in the result value:</p><pre><code>List&lt;String&gt; extractListsAndMerge(List&lt;Document&gt; documents) {
  List&lt;String&gt; result = [];

  for (Document document in documents) {
    result.addAll(document.listPropertyName);
  }

  return result;
}</code></pre><p>All you need to do is replace "listPropertyName" with the name of the property that has the string list - which in your case is <em>nameList</em>.</p><p>I haven't tested this one, but should be fine.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thanks Bilal will definitely give that method a try. Appreciate you posting]]></title>
            <description><![CDATA[Thanks Bilal will definitely give that method a try. Appreciate you posting]]></description>
            <link>https://community.flutterflow.io/backend-r4n7ajk7/post/thanks-bilal-will-definitely-give-that-method-a-try-appreciate-you-posting-yKONvyuXPk4odMa</link>
            <guid isPermaLink="true">https://community.flutterflow.io/backend-r4n7ajk7/post/thanks-bilal-will-definitely-give-that-method-a-try-appreciate-you-posting-yKONvyuXPk4odMa</guid>
            <dc:creator><![CDATA[Jon Paul]]></dc:creator>
            <pubDate>Wed, 17 Jan 2024 03:12:12 GMT</pubDate>
            <content:encoded><![CDATA[<p>Thanks <a class="text-interactive hover:text-interactive-hovered" data-id="CsklZCxH7o" data-type="mention">Bilal</a> will definitely give that method a try. Appreciate you posting  </p>]]></content:encoded>
        </item>
    </channel>
</rss>