While for the most part Uno Platform apps are able to handle theme changes internally, I have some custom code in my app that needs to react to theme change. For example when user changes from light them to dark theme here:
Android display settings for theme
In my code I can get the theme value initially like this:
var color = (Color)App.Current.Resources["SystemBaseHighColor"]
Now when the user changes theme and returns to the app I want to detect that and programmatically update some component. Is there an event I can hook into for this?