Fix issues #22 and #25 (duplicates)#28
Conversation
Use an ObservableCollection instead of custom BindableObjectCollection. Since we need to specify a template parameter, VS is enable to resolve it correctly. + update version number to 1.4.1
|
Thank you very much sdarveau, your fix is very useful and working perfectly for a long time. It looks like davidbritch is very busy and doesn't have time to check new issues, so we have no choice but to solve them on our own. I recently updated VS 2019 to version 16.7.1 (because of apple account login issues, now it works) and got the following xaml error: Everything is compiling and working just fine with your fix, but this new xaml error is annoying. I am quite new to Xamarin and currently don't know how to fix this by myself. Can you give me some advice? Or just point me in the right direction, how I can solve this issue. Thanks. |
|
Hi @gresolio, I'm working on VS for mac (version 8.7.3) so I can't relate. Have you imported the Behaviors project into your solution so you can modify the code and see the effect instantly? Don't forget to add a reference to this project. |
|
Yes, I'm using Behaviours source files in my solution, with your fix on top Strangely enough, after "Build/Clean Solution" and manually deleting all temporary project files, this xml syntax error disappears for a while, but then appears again. Functionally nothing broke, the project compiles and works as before, it's just an annoying syntax error in the xaml editor. Thanks for the answer. Hopefully, I will find some solution. |


Use an ObservableCollection instead of custom BindableObjectCollection. Since we need to specify a template parameter, VS is enable to resolve it correctly.