Closed stesvis closed 5 years ago
UPDATE: the badge shows if I change it to this:
[assembly: ExportRenderer(typeof(TabbedPage), typeof(BadgedTabbedPageRenderer))]
But of course I lose my custom tabbed page customizations...
@xabre any idea? Thx!
@stesvis You have to inherit your own custom renderer from the BadgedTabbedPageRenderer and then register your custom renderer.
public class CustomTabbedPageRenderer : BadgedTabbedPageRenderer
[assembly: ExportRenderer(typeof(TabbedPage), typeof(CustomTabbedPageRenderer))]
Hello, I don't understand why the badge is not showing even with this simple example like this:
Turns out to this:
What could I be missing?
I did add this to the AssemblyInfo.cs too:
[assembly: ExportRenderer(typeof(CustomTabbedPageRenderer), typeof(BadgedTabbedPageRenderer))]
Where
CustomTabbedPageRenderer
is my custom tabbed page renderer.Thanks for any help.