Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Example of BadgeView with circle box using custom renderer - http://julianocustodio.com/badgeview
...
public MainPage()
{
InitializeComponent();
BadgeNotifications.Text = "2";
}
private void AddNotification(object sender, EventArgs e)
{
if (BadgeNotifications.Text != "99+" && int.Parse(BadgeNotifications.Text) < 99 )
BadgeNotifications.Text = (int.Parse(BadgeNotifications.Text)+1).ToString();
else
{
BadgeNotifications.Text = "99+";
}
}
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment