fabulous-dev / Fabulous

Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
https://fabulous.dev
Apache License 2.0
1.16k stars 122 forks source link

Add support for Xamarin.Forms 4.6 #726

Closed TimLariviere closed 4 years ago

TimLariviere commented 4 years ago

Xamarin.Forms 4.6 has been released yesterday. It contains 2 new controls: Expander and RadioButton as well as support for AppTheme (Light and Dark). I added samples for those 3 in the AllControls sample.

TimLariviere commented 4 years ago

/azp run full build

azure-pipelines[bot] commented 4 years ago
Azure Pipelines successfully started running 1 pipeline(s).
TimLariviere commented 4 years ago

Not sure how AppTheme is supposed to work. Tested it on both iOS and Android, and it doesn't work.

iOS never triggers Application.Current.RequestedThemeChanged when the phone theme change. Android recreates the activity hosting XF/Fabulous, thus resetting the state of the app to 0.