title: System.InvalidCastException: Specified cast is not valid in xamarin forms?
body: <p>I am working on Xamarin.Forms I got error </p>
  
  <blockquote>
    <p>"System.InvalidCastException: Specified cast is not valid."</p>
  </blockquote>
  
  <p>I found one similar problem in StackOverflow <a href="https://stackoverflow.com/questions/40575870/xamarin-forms-binding-specified-cast-is-not-valid">Xamarin.Forms Binding Specified cast is not valid</a> </p>
  
  <p>but here answered as remove grid but in my case, I am not using grid why I am getting error</p>
  
  <pre><code>&lt;StackLayout x:Name="roll"  HeightRequest="0"&gt; 
  
          &lt;SearchBar Placeholder="Type to Search" TextChanged="SearchDropDown" /&gt;
  
          &lt;ListView  x:Name="SearchDropDownList" ItemsSource="{Binding Items}" CachingStrategy="RecycleElement" ItemSelected="OnItemSelected"&gt;
              &lt;ListView.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;input:CheckBox Text="{Binding Text}" /&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListView.ItemTemplate&gt;
          &lt;/ListView&gt;
  
  &lt;/StackLayout&gt;
  </code></pre>
  
  <p>I am using <code>Xamarin.Forms.InputKit</code> package from <strong>NuGet Package Manager</strong>.</p>
  
  <p>How do I resolve this?</p>