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

Not showing ListView

$
0
0

Someone have any idea why the ListView is not showing in this code (MasterDetail Page) ?
Any other component is working perfectly.

<?xml version="1.0" encoding="utf-8" ?>

    <MasterDetailPage.Master>
        <ContentPage Title="MENU" BackgroundColor="White">
            <details:PagamentoDetailView IsVisible="{Binding TabPag}"/>
        </ContentPage>
    </MasterDetailPage.Master>

    <MasterDetailPage.Detail>
        <views:TabPagView/>
    </MasterDetailPage.Detail>
</MasterDetailPage>

<?xml version="1.0" encoding="utf-8" ?>
<ContentView xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="..........................................................................................."
             x:Class="......................................................................................................">
    <StackLayout Padding="0, 0, 0, 0">
    <Label Text="FriendlyName" />
        <ListView>
            <ListView.ItemTemplate>
                <DataTemplate>
                    <ViewCell>
                        <ViewCell.View>
                            <Label Text="FriendlyName" />
                        </ViewCell.View>
                    </ViewCell>
                </DataTemplate>
            </ListView.ItemTemplate>
        </ListView>
</StackLayout>
</ContentView>

Viewing all articles
Browse latest Browse all 91519

Trending Articles



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