.NET MAUI Label Handler / Renderer for attributed text

Malcolm Jack 6 Reputation points
2022-12-16T09:52:22.213+00:00

Having some issues with handlers / renderers for labels in MAUI

See github project for reference: https://github.com/InquisitorJax/MAUI-Controls

1) Handler - setting any properties in the handler doesn't get applied
For this scenario, I'm setting TextFormatted in the Android Handler (and I've tried other properties as well)
They don't get applied

Since the handler wasn't working, I thought I'd try a renderer
2) Renderer
When setting TextFormatted in the renderer - I can see the text on the UI, but the problem with the Renderer is that the Markdown property change never fires on the renderer.

What am I missing?

Note: to switch between handler and renderer, just comment out the code in MauiProgram

Developer technologies | .NET | .NET MAUI
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.