title: cannot convert from 'Xamarin.Forms.TextCell' to 'Xamarin.Forms.View'
body: <p>I am trying to create a ViewCell that has elements TextCell and SwitchCell.<br>
  This is my Code-</p>
  
  <pre><code>&lt;ListView x:Name="AlarmList" HasUnevenRows="True" &gt;
          &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;ViewCell&gt;
                      &lt;StackLayout Orientation="Horizontal"&gt;
                          &lt;TextCell TextColor="#CCCCCC" Text="{Binding Name}" DetailColor="Red" Detail="{Binding Address}"&gt;&lt;/TextCell&gt;
                          &lt;SwitchCell /&gt;
                      &lt;/StackLayout&gt;
                  &lt;/ViewCell&gt;
              &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
      &lt;/ListView&gt;
  </code></pre>
  
  <p>the Error i get is:<br></p>
  
  <blockquote>
    <p>cannot convert from 'Xamarin.Forms.TextCell' to 'Xamarin.Forms.View'</p>
  </blockquote>
  
  <p>The Alternative to this is using these <br></p>
  
  <pre><code>&lt;Label &gt;&lt;/Label&gt;
  &lt;Switch &gt;&lt;/Switch&gt; 
  </code></pre>
  
  <p>Is there any other way to achieve Something like this.? 
  <br>
  <a href="https://i.stack.imgur.com/LMdH3.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LMdH3.jpg" alt="enter image description here"></a></p>