title: FindViewByID and Xamarin.Forms.Listview not working
body: <p>I am just learning the basics of Xamarin.Android and have successfully got basic two Activity pages up and running. I have added a Xamarin.Forms.ListView to my second page and set up a variable in my .cs file so I can access it and bind it to a List of a class object. </p>
  
  <p>I started using an Android.Widget.ListView, but I read that the Xamarin.Forms.Listview was the correct one to use for setting a .ItemsSource.</p>
  
  <p>The FindViewByID doesn't work on Xamarin.Forms.ListView however.</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  using Android.App;
  using Android.Content;
  using Android.OS;
  using Android.Runtime;
  using Android.Views;
  
  using Xamarin.Forms;
  namespace Landfill_App
  {
      [Activity(Label = "Vehicle Reg")]
      public class Activity1 : Activity
      {
  
  //Variable to hold the Xamarin.Forms.ListView
          ListView mainList;
  
  //Create new collection that you can bind to the ListView
  System.Collections.ObjectModel.ObservableCollection&lt;VehicleReg&gt; Regs = new System.Collections.ObjectModel.ObservableCollection&lt;VehicleReg&gt;();
  
          protected override void OnCreate(Bundle savedInstanceState)
          {
              base.OnCreate(savedInstanceState);
              SetContentView(Resource.Layout.layout1);
  
  
              mainList = FindViewById&lt;Xamarin.Forms.ListView&gt;(Resource.Id.mainlistview);
              //mainList.Adapter = new ArrayAdapter(this, Android.Resource.Layout.SimpleListItem1, items);
              mainList.ItemsSource = Regs;
  
  //Add a new class object 'VehicleReg' to the Regs collection
              Regs.Add(new VehicleReg()
              {
                  Reg = "GHJ6786",
                  Weight = 250.56M
  
              });
  
          }
  </code></pre>
  
  <p>My XML from the Layout file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:minWidth="25dp"
      android:minHeight="25dp"&gt;
      &lt;Xamarin.Forms.ListView
          android:layout_width="match_parent"
          android:layout_height="200dp"
          android:id="@+id/mainlistview"/&gt;
  
    &lt;TextView
      android:text="string/Layout1Activity"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:id="@+id/textView1"
      /&gt;
      &lt;Button
          android:text="BACK"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:id="@+id/button1" 
         android:onClick="GoBack"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>I want to bind a List of(MyClass) to the ListView.</p>
  
  <p>I really don't know what I'm doing wrong here. I've tried in vain to search google, but it's mind blowing the amount of information on this subject and google seems to often return results that aren't related to what you searched.</p>