-
-
Notifications
You must be signed in to change notification settings - Fork 122
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
Dynamically changing "ContentPage --> content" property is not updated correctly #45
Comments
I think there is some limitation for the ContentPage to handle updates, but with a slight modification to your view it works:
|
@gibranrosa Do you know if/where that limitation is discussed? I presume that's a limitation of the Xamarin Forms implementation (see here https://github.com/xamarin/Xamarin.Forms/blob/master/Xamarin.Forms.Core/ContentPage.cs) Thanks |
Thanks for the explanation. But if there is some way to solve this limitation then it will save a lot of time for beginners like me. I will close this then. |
@albertwoo I'll keep it open with a different title as it is a definite glitch, though it's likely a limitation in Xamarin.Forms |
@dsyme , I have found the problem, apparently it is with this library instead. An exception occurs in line 10657, as the TargetTypes are different: I have changed as below and it worked, do you approve?
|
@gibranrosa great job! I was planning to investigate this today, now my life is saved 👍 |
Fix #45 : Modified Generator to Reference Properties updates NOT use UpdateIncremental when types of Old and New object differs
My demo code is like below
When I click next the Count is change to 1 and program is also running in to else block, but the UI is not updated.
The text was updated successfully, but these errors were encountered: