title: Xamarin.Forms ListView Load More
body: <p><strong>The Problem</strong></p>
  
  <p>What I want to achieve can you basically see here </p>
  
  <p><a href="https://i.stack.imgur.com/b2PKV.gif" rel="noreferrer"><img src="https://i.stack.imgur.com/b2PKV.gif" alt="enter image description here"></a></p>
  
  <p>so when the user scrolls to the end I want to load more, because my List is very large and I want to Maximize Performance.</p>
  
  <p>I'm trying to achieve this as follows, in splitting the Main Collection with the Data so that i can set the ItemSource new when the User reaches the end.</p>
  
  <p><strong>What ive Implemented so far</strong></p>
  
  <pre><code> public class ViewModel : BaseViewModel {
  
          public ViewModel() {
              Initialize();
          }
  
          public List&lt;List&lt;Usermodel&gt;&gt; SplitedUserLists { get; set; }
  
          //Main List that im Binding to
          public List&lt;Usermodel&gt; ItemSourceCollection { get; set; }
  
          public int ChunkSize { get; set; }
          #endregion
  
          private async void Initialize() {
  
              ItemSourceCollection = await LoadList();
  
              // Splites the list (in this case the chunk Size is 5)
              SplitedScoreLists = ItemSourceCollection.Split(GetChunkSize()));
              ItemSourceCollection = SplitedScoreLists[0];
          }
  
          //Gets called from CodeBehind
          public void ListViewItemAppearing(ItemVisibilityEventArgs e) {
  
              //Bottom Hit!
              if (e.Item == ItemSourceCollection[ItemSourceCollection.Count - 1]) {
  
                  if (ChunkSize &gt;= SplitedScoreLists.Count) {
                      return;
                  }
  
                  foreach (var usermodel in SplitedScoreLists[ChunkSize].ToList()) {
                      ItemSourceCollection.Add(usermodel);
                  }
  
                  if (ChunkSize &lt; SplitedScoreLists.Count) {
                      ChunkSize++;
                  }
              }
          }
   }
  </code></pre>
  
  <p><strong>Questions</strong></p>
  
  <ol>
  <li><p>The problem with my Implementation is that the List is actually longer than the Count of the original List due to duplicates.</p></li>
  <li><p>Is this the right way to achieve something like this?</p></li>
  <li><p>Am I actually increasing Performance with this? I need to cause the List is 1000+ entries.</p></li>
  </ol>