dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22k stars 1.72k forks source link

Provide a formalized mechanism with BindableObjects, so we can update the values but not trigger a handler update #22585

Open PureWeen opened 3 months ago

PureWeen commented 3 months ago

Description

We're starting to see a number of scenarios where circular updates are causing performance issues.

https://github.com/dotnet/maui/pull/22347 https://github.com/dotnet/maui/pull/22413

You can see this pretty easily with any control that sends an update from platform code to xplat code.

For example, the radiobutton

image

Considerations

Related Issue

https://github.com/dotnet/maui/issues/5587

I'm curious if we can fix both of these issues with the same PR :-)

github-actions[bot] commented 3 months ago

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!

Open similar issues:

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