I am using BadgeView
plugin in Xamarin.Forms with TitleView
but getting exception
Xamarin.Forms.Xaml.XamlParseException: Position 8:81. Multiple properties with name 'BadgeView.Shared.CircleView.CornerRadius' found.
This is my code
<NavigationPage.TitleView>
<StackLayout Orientation="Horizontal" VerticalOptions="End" Spacing="10">
<Image Source="bell.png" HorizontalOptions="Center" VerticalOptions="Center"></Image>
<badge:BadgeView Text="2" BadgeColor="Yellow" VerticalOptions="End" HorizontalOptions="Start"></badge:BadgeView>
</StackLayout>
</NavigationPage.TitleView>
This is a bug in the plugin which is marked in the issues section in the plugin's Github
And there is a workaround that one guy has added but I am not sure if that would work for you, as shown here what he did was
CircleView.cs
Note: Comment the CornerRadius property.
For Android:
CircleViewRenderer.cs
Note: Added hard-coded value for CornerRadius (16)
For iOS: CircleViewRenderer.cs Note: Added hard-coded value for CornerRadius (16) iOS code is not tested yet.