Skip to content

Instantly share code, notes, and snippets.

View bijington's full-sized avatar

Shaun Lawrence bijington

View GitHub Profile
@bijington
bijington / MainPage.xaml
Created March 15, 2024 05:41
Simplifying converter usage
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Plugin.Maui.Audio.Sample.Pages.MusicPlayerPage"
x:DataType="viewmodels:MusicPlayerPageViewModel"
xmlns:converters="clr-namespace:Plugin.Maui.Audio.Sample.Converters"
Title="{converters:ToUppercase MusicItemViewModel.Title}">
</ContentPage>
[{"Path":"M25,0 L50,0 L50,25 C50,38.8071187 38.8071187,50 25,50 L0,50 L0,25 C0,11.1928813 11.1928813,0 25,0 Z"},{"Path":"M25,0 L50,0 L50,50 L0,50 L0,25 C0,11.1928813 11.1928813,0 25,0 Z"},{"Path":"M25,0 L0,0 L0,50 L50,50 L50,25 C50,11.1928813 38.8071187,0 25,0 Z"},{"Path":"M50,0 L50,50 L25,50 C11.1928813,50 0,38.8071187 0,25 C0,11.3309524 10.9701429,0.224119049 24.5865793,0.00334928573 L25,0 L50,0 Z"},{"Path":"M0,0 L50,0 L50,50 L0,50 L0,0 Z"},{"Path":"M0,50 L25,0 L50,50 L0,50 Z"},{"Path":"M25,0 L46.6506351,12.5 L46.6506351,37.5 L25,50 L3.34936491,37.5 L3.34936491, 12.5 Z"},{"Path":"M8,25 25,0 42,25 25,50 Z"},{"Path":"M24,0 47.7764129,17.2745751 38.6946313,45.2254249 9.30536869,45.2254249 0.223587093,17.2745751 Z"},{"Path":"M0,14 12,0 38,0 50,14 25,50 Z"}]
public interface IAudioHandler
{
bool IsOtherAudioPlaying { get; }
}