Player controls now get dynamically assigned to view model base classes.
This gives view models more freedom in how play events from the player are handled
This commit is contained in:
@ -14,8 +14,10 @@
|
||||
<StackLayout
|
||||
Grid.Column="0">
|
||||
<Label
|
||||
x:Name="SongTitleLabel"
|
||||
Text="{Binding SongTitle}"/>
|
||||
<Label
|
||||
x:Name="ArtistNameLabel"
|
||||
Text="{Binding ArtistName}"/>
|
||||
</StackLayout>
|
||||
<StackLayout
|
||||
@ -23,16 +25,19 @@
|
||||
Orientation="Horizontal">
|
||||
<Button
|
||||
Text="Previous"
|
||||
x:Name="PreviousButton"
|
||||
Command="{Binding PreviousCommand}"
|
||||
WidthRequest="100"
|
||||
HeightRequest="50"/>
|
||||
<Button
|
||||
x:Name="PlayButton"
|
||||
Text="{Binding PlayButtonText}"
|
||||
Command="{Binding PlayCommand}"
|
||||
WidthRequest="100"
|
||||
HeightRequest="50"/>
|
||||
<Button
|
||||
Text="Next"
|
||||
x:Name="NextButton"
|
||||
Command="{Binding NextCommand}"
|
||||
WidthRequest="100"
|
||||
HeightRequest="50"/>
|
||||
|
Reference in New Issue
Block a user