Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

MasterDetail MIA?

$
0
0

This one is puzzling and has me kerfuzeled. I have a masterdetail page that I navigate to via pushAsync from my apps homepage.
No exception is thrown,no error in the log...but nothing shows up.

Anyone have the clue that I am clearly missing?

This is the xaml :

<?xml version="1.0" encoding="utf-8" ?>
<MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms"
                       xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:pages="clr-namespace:Teachers.Pages;assembly=Teachers"
                       x:Class="Teachers.Pages.MessageCenter"
             Title="Message Center">

  <MasterDetailPage.Master>
    <ContentPage Title="Folders"  Icon="slideout.png">
      <StackLayout VerticalOptions="Start">
        <Label>Hello</Label>
      </StackLayout>
    </ContentPage>
  </MasterDetailPage.Master>

  <MasterDetailPage.Detail>
    <ContentPage>
      <StackLayout VerticalOptions="Center" HorizontalOptions="FillAndExpand">
        <Label>There</Label>
      </StackLayout>
    </ContentPage>
  </MasterDetailPage.Detail>
</MasterDetailPage>

This is the end result :


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>