title: Infinite items loading in Xamarin Forms FlowListView
body: <p>I am implementing the <strong>FlowListView</strong> NuGet package for a custom listview with multiple columns.</p>
  <p>(NuGet package link: <a href="https://www.nuget.org/packages/DLToolkit.Forms.Controls.FlowListView/" rel="nofollow noreferrer">https://www.nuget.org/packages/DLToolkit.Forms.Controls.FlowListView/</a>)</p>
  <p>Everything is displayed as it should. But the app is getting very slow. On looking further in the Live Visual Tree I found out that the list items in the FlowListView are loading infinitely. I don't know what is causing it.</p>
  <p>Can anyone tell me why it is happening, and how to stop it?</p>
  <p>XAML:</p>
  <pre><code>&lt;ContentPage xmlns=&quot;http://xamarin.com/schemas/2014/forms&quot;
               xmlns:x=&quot;http://schemas.microsoft.com/winfx/2009/xaml&quot;
               xmlns:flv=&quot;clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView&quot;
               xmlns:vm=&quot;clr-namespace:FlowDemo.ViewModels&quot;
               x:Class=&quot;FlowDemo.MainPage&quot;&gt;
  
      &lt;ContentPage.BindingContext&gt;
          &lt;vm:MainViewModel /&gt;
      &lt;/ContentPage.BindingContext&gt;
      
      &lt;StackLayout&gt;
          &lt;flv:FlowListView FlowColumnCount=&quot;2&quot;
                            RowHeight=&quot;50&quot;
                            SeparatorVisibility=&quot;Default&quot;
                            HasUnevenRows=&quot;false&quot;
                            FlowItemsSource=&quot;{Binding Items}&quot; &gt;
  
              &lt;flv:FlowListView.FlowColumnTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;Frame Margin=&quot;10&quot; Padding=&quot;0&quot; CornerRadius=&quot;6&quot; HasShadow=&quot;True&quot;&gt;
  
                          &lt;Label Text=&quot;{Binding}&quot; HorizontalOptions=&quot;Center&quot; VerticalOptions=&quot;Center&quot; /&gt;
  
                      &lt;/Frame&gt;
                  &lt;/DataTemplate&gt;
              &lt;/flv:FlowListView.FlowColumnTemplate&gt;
  
          &lt;/flv:FlowListView&gt;
      &lt;/StackLayout&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  <p>View Model:</p>
  <pre><code>using System.Collections.ObjectModel;
  
  namespace FlowDemo.ViewModels
  {
      public class MainViewModel
      {
          public ObservableCollection&lt;string&gt; Items { get; set; } = new ObservableCollection&lt;string&gt;() { &quot;Item 1&quot;, &quot;Item 2&quot;, &quot;Item 3&quot;, &quot;Item 4&quot;, };
      }
  }
  </code></pre>
  <p>Code Behind:</p>
  <pre><code>using DLToolkit.Forms.Controls;
  using Xamarin.Forms;
  
  namespace FlowDemo
  {
      public partial class MainPage : ContentPage
      {
          public MainPage()
          {
              InitializeComponent();
              FlowListView.Init();
          }
      }
  }
  </code></pre>
  <p>EDIT:
  I'm using Visual Studio 2022 and .Net Standard 2.0. I'm also using PropertyChanged.Fody for implementing INotifyPropertyChanged.</p>
  <p>Screenshot:
  <a href="https://i.stack.imgur.com/d8mC3.png" rel="nofollow noreferrer">Click here to view image</a></p>