title: xamarin forms list view draw cells but they are empty
body: <p><a href="https://i.stack.imgur.com/OmUiQ.png" rel="nofollow noreferrer">The listview shows the correct number of ideas in the database, but the label won't show idea names like the wfa does.</a></p>
  
  <p>The label in my datatemplate is bound to the idea name variable. For some reason it doesn't seem to write the name of these ideas in the viewcell's label.</p>
  
  <p>I know this isn't a problem with my sql code, since it works perfectly fine in the wfa. </p>
  
  <p>Steps I used to find a solution to my problem:
      1. researched about the listview, how it works and how to use it
      2. I spent 4 hours messing around trying to bind the label in multiple ways
      3. the label won't bind to my variables even out of the list view.
      4. I searched for a solution on google going 2 pages in for every search term i could think of.</p>
  
  <p>here's the code the idea list depends on:</p>
  
  <p>The Ideas listview </p>
  
  <pre><code>&lt;ListView x:Name="Ideas" SeparatorColor="Accent" SeparatorVisibility="Default" ItemsSource="{Binding idea}" &gt;
          &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;ViewCell&gt;
                      &lt;Frame BackgroundColor="Bisque" Padding="2" Margin="0,1,0,1"&gt;
                          &lt;Label Text="{Binding idea.idea}" VerticalTextAlignment="Center"  FontSize="Small"  HorizontalOptions="FillAndExpand"&gt;&lt;/Label&gt;
                      &lt;/Frame&gt;
                  &lt;/ViewCell&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>The Mainpage class (simplified to only show the code used by the listview)</p>
  
  <pre><code>Class Mainpage {
  public static bool ShowHiddenIdeas = false;
  
  ListView ideaso;
  
  public static List&lt;Idea&gt; ideas;
  
  public MainPage() {
      GetIdeas(0); //get all ideas from the first table in the database 
      InitializeComponent();
  }
  
  void GetIdeas(int id) {
  ideas = Kaiosql.GetIdeaSQL(id); //reads from the database and compiles a list of ideas in the table
  
  /* 
  tried using a list of strings instead of the idea class
  List&lt;string&gt; ideasz = new List&lt;string&gt;();
      foreach (Idea i in ideas)
      {
          ideasz.Add(i.idea);
      } 
  It just does the same thing
  */
  
  ideaso.ItemsSource = ideas;
  }
  }
  </code></pre>
  
  <p>the Idea class</p>
  
  <pre><code>public class Idea
  {
      public int ID;
      public string idea;
      public string Description;
      public string Type;
      public string Time;
      public bool HasFolder;
      public string FolderPath;
      public bool IsStarted;
      public bool IsComplete;
      public bool IsUploaded;
  
      public Idea(int iD, string idea, string description, string type, string time, bool hasFolder = false, string folderPath = null, bool isStarted = false, bool isComplete = false, bool isUploaded = false)
      {
          ID = iD;
          this.idea = idea;
          Description = description;
          Type = type;
          Time = time;
          HasFolder = hasFolder;
          FolderPath = folderPath;
          IsStarted = isStarted;
          IsComplete = isComplete;
          IsUploaded = isUploaded;
      }
  }
  </code></pre>
  
  <p>The class has more information than my ideabase currently can output. I hope this isn't the reason the data doesn't show up.</p>
  
  <p>Much Thanks! - Zak Kaioken</p>