title: Xamarin Forms Listview Items Not Displaying
body: <p>I have a list in my Xamarin Forms app that I have being bound to data. This all works and I know I am getting data because if I tap on the screen the list shows the data, but I assume the list should show each item without having to tap on the screen.</p>
  
  <p>Here is my xaml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
               xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
               x:Class="PDInstall.Views.LayoutsPage"
               Title="Layouts"&gt;
      &lt;ContentPage.Content&gt;
          &lt;StackLayout&gt;
              &lt;ListView x:Name="layoutsList" IsPullToRefreshEnabled="True"
                        Refreshing="layoutsList_Refreshing" ItemTapped="layoutsList_ItemTappedAsync"&gt;
                  &lt;ListView.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;TextCell Text="{Binding Name}" /&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ListView.ItemTemplate&gt;
              &lt;/ListView&gt;
          &lt;/StackLayout&gt;
      &lt;/ContentPage.Content&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p>And here is my code behind:</p>
  
  <pre><code>public LayoutsPage (Job job)
  {
      InitializeComponent ();
  
      _job = job;
  
      Task.Run(() =&gt; GetLayoutsListAsync());
  }
  
  private async Task GetLayoutsListAsync()
  {
      if(CrossConnectivity.Current.IsConnected)
      {
          layoutsList.IsRefreshing = true;
  
          IList&lt;CloudBlockBlob&gt; layouts = await azureFileUpload.ListJobBlobsAsync(_job.JobId);
  
          IList&lt;CloudEditableBlob&gt; layoutList = new List&lt;CloudEditableBlob&gt;();
  
          foreach(var item in layouts)
          {
              CloudEditableBlob editableBlob = new CloudEditableBlob();
  
              editableBlob.Name = item.Name.Replace(_job.JobId.ToString() + ": ", "");
  
              editableBlob.Container = item.Container;
  
              editableBlob.Parent = item.Parent;
  
              editableBlob.StorageUri = item.StorageUri;
  
              editableBlob.Uri = item.Uri;
  
              layoutList.Add(editableBlob);
          }
  
          layoutsList.IsRefreshing = false;
  
          await Task.Run(() =&gt; layoutsList.ItemsSource = layoutList);
  
      }
      else
      {
          await DisplayAlert("No Internet Connection", "Please Reconnect to the Internet and re-open PDInstall", "OK");
      }
  
      layoutsList.EndRefresh();
  }
  </code></pre>
  
  <p>I am getting a list of blobs from azure, they are just PDFs that we have stored. I get the list of blobs then I have to put it into a custom class, so I can change the name, then I put that into the list. This all works fine up until it tries to show the list and I get a blank page until I tap it where it then shows the list.</p>
  
  <p>Does anyone know if I can programmatically do a tap or something to get that list to show? Or possibly another way to get the data show without having to tap on the screen?</p>
  
  <p>Thanks in advance!</p>