TimLariviere / Fabulous-new

Fabulous v2 - Work in progress
https://timothelariviere.com/Fabulous-new/
Other
41 stars 3 forks source link

Add debounce function on WidgetsHelpers to help Android events #115

Closed edgarfgp closed 2 years ago

edgarfgp commented 2 years ago

I think we should add a debounce function like in V1 https://github.com/fsprojects/Fabulous/blob/8bbb610a2bbfe239e175b8e25ac950d55ebc94f5/Fabulous.XamarinForms/src/Fabulous.XamarinForms/ViewHelpers.fs#L66

TimLariviere commented 2 years ago

Do you have an example where this would be useful? I added it in v1 to workaround the infinite loop because of delayed events on Android but this shouldn't happen on v2

TimLariviere commented 2 years ago

Also I'm thinking maybe it would be good to create a "Fabulous Toolkit" with all the helpers that aren't required by the core of Fabulous.

edgarfgp commented 2 years ago

Closing this as this is not longer a problem on V2 . As now android text changes are handled better .