Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Badge for ToolbarItem #23802

Open
flogeiger opened this issue Jul 24, 2024 · 5 comments
Open

Badge for ToolbarItem #23802

flogeiger opened this issue Jul 24, 2024 · 5 comments
Milestone

Comments

@flogeiger
Copy link

Description

Hi everyone, hope you are doing great!

I have an application in Net Maui 8 for IOS.

In the app, there are some icons in toolbar within a ContentPage.

When in xamarin, It was possible to define and show notification badges over icons by using drawables for specific platform as android, for example. But when it's about net maui, there is only documentation explaining how to include notification badges over app icon, but not over toolbar items inside the app pages.

So far, I couldn't find any docs about this kind of implementation. Her is the documentation for Xamarin:
https://www.xamboy.com/2018/03/08/adding-badge-to-toolbaritem-in-xamarin-forms/

Do anyone have some tips for that case, please?

Public API Changes

https://www.xamboy.com/2018/03/08/adding-badge-to-toolbaritem-in-xamarin-forms/

Intended Use-Case

https://www.xamboy.com/2018/03/08/adding-badge-to-toolbaritem-in-xamarin-forms/

Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@mattleibow
Copy link
Member

Maybe open an issue in the community toolkit. Not sure this works on macOS and Windows? So that may be enough to get the toolkit to do this instead.

https://github.com/CommunityToolkit/Maui

@mattleibow mattleibow added this to the Backlog milestone Jul 24, 2024
@flogeiger
Copy link
Author

Are you sure that is the right place? Because i am Using the ContentPage.ToolbarItems:

https://learn.microsoft.com/en-us/dotnet/maui/user-interface/toolbaritem?view=net-maui-8.0

I dont see the dependency between the ContentPage.ToolbarItems and Toolkit

@jfversluis
Copy link
Member

Related: #8305

@jfversluis jfversluis added t/enhancement ☀️ New feature or request area-controls-toolbar ToolBar labels Jul 25, 2024
@flogeiger flogeiger changed the title Badge vor ToolbarItem Badge for ToolbarItem Jul 25, 2024
@mattleibow
Copy link
Member

@flogeiger sorry, I was not super clear. There is no dependency, but I am not sure if all the platforms support this feature. I also have not seen a super high demand. As a result, this may be faster made available if the community toolkit folks implemented it. It will be great to get into maui itself, but with .NET 9 around the corner I am not sure this will come to maui in the next year at least.

@samhouts samhouts added the area-navigation NavigationPage label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants