title: How to open another page when a listview item is selected in xamarin forms?
body: <p>Hello I am working on a mobile app that is built using xamarin forms the main page is a list view with that lists categories. what I need to happen is when the user clicks a item in the list view it opens new page in the app heres the xaml code:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="SchoolTools.HomePage"&gt;
       &lt;ListView HasUnevenRows="true"&gt;
                 &lt;ListView.ItemTemplate&gt;
        &lt;DataTemplate&gt;
          &lt;ViewCell&gt;
            &lt;Frame Padding="0,0,0,8" BackgroundColor="#d2d5d7"&gt;
              &lt;Frame.Content&gt;
                &lt;Frame Padding="15,15,15,15"   OutlineColor="Gray" BackgroundColor="White"&gt;
                  &lt;Frame.Content&gt;
                    &lt;StackLayout Padding="20,0,0,0"  Orientation="Horizontal" HorizontalOptions="CenterAndExpand"&gt;
                      &lt;Label x:Name="Internet" Text="Internet" HorizontalOptions="Center"&gt;
                          &lt;/Label&gt;
                          &lt;Label x:Name ="Math" Text="Math" HorizontalOptions="Center"&gt;
                          &lt;/Label&gt;
                          &lt;Label x:Name="Science" Text="Science" HorizontalOptions="Center"&gt;
                          &lt;/Label&gt;
                          &lt;Label x:Name ="Handwriting" Text="Handwriting" HorizontalOptions="Center"&gt;
                          &lt;/Label&gt;
                            &lt;Label x:Name ="FlashCards" Text="FlashCards" HorizontalOptions="Center"&gt;
                          &lt;/Label&gt;
                          &lt;Label x:Name="Books"  Text="Books" HorizontalOptions="Center"&gt;
                          &lt;/Label&gt;   
                    &lt;/StackLayout&gt;
                  &lt;/Frame.Content&gt;
                &lt;/Frame&gt;
              &lt;/Frame.Content&gt;
            &lt;/Frame&gt;
          &lt;/ViewCell&gt;
        &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
    &lt;/ListView&gt;
  &lt;/ContentPage&gt;
  </code></pre>
  
  <p>so my question is whats the code beind to make the math filed take you to the MathToolsHome class? and so on and so forth?</p>
  
  <p>any help would be amazing!</p>
  
  <p>Thanks a million in advance! :)</p>