xamarin-demos icon indicating copy to clipboard operation
xamarin-demos copied to clipboard

Theme does not change instantly like a regular ResourceDictionary when inherited

Open RabhiaBehamK opened this issue 5 years ago • 0 comments

Description When inherited ResourceDictionary and create a new class the theme does not change instantly as a regular ResourceDictionary does.

Steps to Reproduce Run the below sample in Xamarin.Forms On the Switch, BackgroundTheme should be Red ad LightTheme has been applied. Navigate to the second page. BackgroundColor is changed to Red.

Expected Behavior BackgroundTheme should be Red ad LightTheme has been applied in the current page itself.

Actual Behavior BackgroundTheme is applied Red ad LightTheme has been applied in the next navigated page only.

Basic Information Xamarin: 4.7.0.968

Reproduction Link ThemeApplication.zip

RabhiaBehamK avatar Jun 24 '20 13:06 RabhiaBehamK