title: Xamarin Forms Carousel View lost selected values (Survey Sample)
body: <p>I use Xamarin Forms v2.3.1.114 and I want to create a survey page in my app.</p>
  
  <p>My basic class is this : </p>
  
  <pre><code>public class Question
  {
      public string Title { get; set; }
      public List&lt;string&gt; Answers { get; set; }
  }
  </code></pre>
  
  <p>My sample code is this :</p>
  
  <pre><code>ObservableCollection&lt;Question&gt; Questions = new ObservableCollection&lt;Question&gt; ();
  
          Questions.Add (
              new Question () {
                  Title = "Question A",
                  Answers = new List&lt;string&gt;{
                          "Answer A",
                          "Answer B",
                          "Answer C",
                          "Answer D"
                          }
              }
           );
  
          Questions.Add (
              new Question () {
                  Title = "Question B",
                  Answers = new List&lt;string&gt;{
                          "Answer A",
                          "Answer B",
                          "Answer C",
                          "Answer D",
                          "Answer E",
                          "Answer F"
                  }
              }
           );
  </code></pre>
  
  <p>My Xaml is the following : </p>
  
  <pre><code>&lt;Grid Grid.Row="1"&gt;
  
          &lt;cv:CarouselView x:Name="CarouselQuestions"&gt;
          &lt;cv:CarouselView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;Grid Padding="12"&gt;
              &lt;Grid.RowDefinitions&gt;
                  &lt;RowDefinition Height="Auto"/&gt;
                  &lt;RowDefinition Height="*"/&gt;     
              &lt;/Grid.RowDefinitions&gt;
              &lt;Grid Grid.Row="0" BackgroundColor="#404040"&gt;
                  &lt;ContentView Padding="12"&gt;
                          &lt;Label TextColor="White" HorizontalOptions="Start" Text="{Binding Title}"/&gt;
                  &lt;/ContentView&gt;
              &lt;/Grid&gt;
                  &lt;ListView Grid.Row="1" ItemsSource="{Binding Answers}" BackgroundColor="Transparent" HasUnevenRows="true"&gt;
                      &lt;ListView.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;ViewCell&gt;
                                  &lt;Grid Padding="12"&gt;
                                  &lt;Label TextColor="Black" Text="{Binding}"/&gt;
                                  &lt;/Grid&gt;
                              &lt;/ViewCell&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListView.ItemTemplate&gt;
                  &lt;/ListView&gt;         
              &lt;/Grid&gt;
          &lt;/DataTemplate&gt;
          &lt;/cv:CarouselView.ItemTemplate&gt;
          &lt;/cv:CarouselView&gt;
  
  &lt;/Grid&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/xDjEt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xDjEt.png" alt="survey app"></a></p>
  
  <p>I use CarouselView control from Nuget but when I select a value from one listview and swipe carousel , the selected values have been losted.</p>
  
  <p>How can i fix this ?</p>
  
  <p>Thanks !! </p>