<?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:tabView="clr-namespace:Aurora.Design.Components.TabView"
     xmlns:ml="clr-namespace:Aurora.Design.Components.MemberList"
     xmlns:library="clr-namespace:Aurora.Design.Components.Library"
     xmlns:flv="clr-namespace:DLToolkit.Forms.Controls;assembly=DLToolkit.Forms.Controls.FlowListView"
     x:Class="Aurora.Design.Views.Party.PartyView">
    <ContentView.Resources>
        <StyleSheet
             Source="./PartyView.css"/>
    </ContentView.Resources>
    <ContentView.Content>
        <StackLayout
             x:Name="TabHeader">
            <tabView:TabViewControl
                 HorizontalOptions="FillAndExpand"
                 VerticalOptions="FillAndExpand"
                 TabSizeOption="100"
                 SelectedTabIndex="{Binding SelectedTabIndex}"
                 HeaderBackgroundColor="#181818"
                 x:Name="TabView">
                <tabView:TabViewControl.ItemSource>
                    <tabView:TabItem
                         HeaderText="Members">
                        <ml:MemberList
                             x:Name="MembersList"
                             VerticalOptions="FillAndExpand"
                             Members="{Binding Members}"/>
                    </tabView:TabItem>
                    <tabView:TabItem
                         HeaderText="Queue">
                        <library:Library
                             ItemsSource="{Binding Queue}"
                             SelectedItem="{Binding SelectedSong}"
                             ItemDoubleClicked="{Binding PlayCommand}"/>
                    </tabView:TabItem>
                </tabView:TabViewControl.ItemSource>
            </tabView:TabViewControl>
        </StackLayout>
    </ContentView.Content>
</ContentView>