Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme does not change instantly like a regular ResourceDictionary when inherited #27

Open
RabhiaBehamK opened this issue Jun 24, 2020 · 0 comments

Comments

@RabhiaBehamK
Copy link

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 RabhiaBehamK changed the title When inherited ResourceDictionary and create a new class the theme does not change instantly like a regular ResourceDictionary does Theme does not change instantly like a regular ResourceDictionary when inherited Jun 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant