<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="Banquale.Views.MessageListPage"
             Title="MessageListPage"
             Shell.NavBarIsVisible="True">

    <VerticalStackLayout>

        <!--<Label
            Text="rzklpkrz,e"
            Grid.Column="1"
            VerticalOptions="Center"
            Margin="10, 0, 0, 0"
            BackgroundColor="Red"/>-->

        <!--<Label Text="{Binding CustomersList[0].Name}" />-->


        <ListView ItemsSource="{Binding MessagesList}"
                  SelectionMode="None">

            <ListView.ItemTemplate>

                <DataTemplate>

                    <TextCell Text="{Binding Subject}" />

                </DataTemplate>

            </ListView.ItemTemplate>

        </ListView>

    </VerticalStackLayout>
</ContentPage>
