title: how to add checkbox in listview using xamarin forms
body: <p>i want to create a checkbox in listview using xaml, after selecting the multiple checkbox click button to get all selected value.My code is :</p>
  
  <pre><code>&lt;ContentPage.Content&gt;
      &lt;ListView  x:Name="ProductsListView"&gt;
          &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;ViewCell&gt;
                      &lt;ViewCell.View&gt;
                          &lt;StackLayout Spacing="0"&gt;
                              &lt;Label Text="{Binding retail_modified_item_id}" 
                                 TextColor="Blue" FontSize="13" /&gt;
                              &lt;Label Text="{Binding name, StringFormat='Name : 
                                 {0:N}'}" TextColor="black" FontSize="10"  /&gt;
                              &lt;Label Text="{Binding retail_price, 
                                 StringFormat='Price : {0:N}'}" 
                                 TextColor="black" FontSize="10" /&gt;
                          &lt;/StackLayout&gt;
                      &lt;/ViewCell.View&gt;
                  &lt;/ViewCell&gt;                            
              &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
      &lt;/ListView&gt;
  &lt;/ContentPage.Content&gt;
  </code></pre>
  
  <p></p>
  
  <p>my output is;
  <a href="https://i.stack.imgur.com/jq9d3.png" rel="nofollow noreferrer">output without checkbox</a></p>
  
  <p>i tried some sample code from <a href="https://www.ignatiuz.com/blog/xamarin/button-check-box-with-list-item-in-xamarin-forms-listview/" rel="nofollow noreferrer">https://www.ignatiuz.com/blog/xamarin/button-check-box-with-list-item-in-xamarin-forms-listview/</a></p>
  
  <p>but i'm getting <strong>input:checkbox not found</strong> </p>
  
  <p>i am new to xamarin please give some sample code or link to do this</p>