title: Binding Context to ListView does not work
body: <p>I can't seem to display data to my listview via a BindingContext. The listview displays as blank. The code is below.</p>
  
  <p>ViewModel:</p>
  
  <pre><code>public class DiscountPageViewModel
  {
      //initalize variables here
      RestService service = new RestService();
      public List&lt;DiscountModel&gt; lister = new List&lt;DiscountModel&gt;();
  
      public DiscountPageViewModel()
      {
          Get_Data();
      }
  
      //get data
      async void Get_Data()
      {
          lister = await service.Get_Data&lt;DiscountModel&gt;("discount");
  
      }
  
  }
  </code></pre>
  
  <p>View (.cs):</p>
  
  <pre><code>public partial class DiscountPage : ContentPage
  {
      public DiscountPage()
      {
          InitializeComponent();
  
          BindingContext = new DiscountPageViewModel();
      }
  }
  </code></pre>
  
  <p>View (XAML):</p>
  
  <pre><code>&lt;ContentPage.Content&gt;
  
      &lt;StackLayout&gt;
  
          &lt;StackLayout Margin="12, 5, 12, 0"&gt;
              &lt;Entry Placeholder="Search..."/&gt;
          &lt;/StackLayout&gt;
  
          &lt;StackLayout&gt;
              &lt;ListView BindingContext="{Binding lister}"&gt;
                  &lt;ListView.ItemTemplate&gt;
                      &lt;DataTemplate &gt;
                          &lt;TextCell Text="{Binding name}" Detail="{Binding code}"/&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ListView.ItemTemplate&gt;
              &lt;/ListView&gt;
          &lt;/StackLayout&gt;
  
      &lt;/StackLayout&gt;
  
  &lt;/ContentPage.Content&gt;
  </code></pre>
  
  <p>The API call works and data is being displayed elsewhere. I am trying to learn MVVM but I seem to be stuck here. The model  has the properties code and name. Much help would be appreciated. Thank you!</p>