MVVM samples don't compile
Look like file DSharp.Collections.pas
is absent in branch feature/spring4d_compatibility
Comments (10)
-
repo owner -
Account Deleted ok. Such as can't compile samples I should ask about compatibility between FireMonkey and DSharp.
-
Account Deleted Hi Alex if you're interested in MVVM take a look at the Caliburn branch and the PresentationModel demos. Use Spring4D 1.1. I've been using FMX with this branch for the past couple of weeks - it's a very impressive piece of work.
Cheers, Bob
-
Account Deleted Can you tell about correct branches/revision of DSharp(Caliburn?) and Spring4D(?) for FMX, please?
-
Account Deleted I've been using this branch https://bitbucket.org/sglienke/dsharp/branch/feature/Caliburn and the current release of Spring4D (v1.1 released 2014-09-12). There are a couple of FMX demos in the PresentationModel folder, but I've been porting some of the VCL demos to FMX as part of learning how it all works. It's been stated as being alpha quality, but what's there is still pretty solid so far. I had to make some changes to SetContentPropertyCore in DSharp.PresentationModel.FMXView to get the FMX versions to work. Let me know if you need them. There's plenty of WPF-based documentation on the web which is easily understandable if you've done any .NET.
-
Account Deleted Hi Stefan,
Which branches of DSharp/Spring4d do I need to build in order to be able to use TreeviewPresenter?
Regards Keith
-
repo owner @kgiddings Spring4D master (1.1 release) and DSharp feature/spring4d-compatibility
-
Account Deleted OK, thanks - as I couldn't get the TreeviewPresenter sample to compile, I wondered if I had the wrong branch. Once I knew it should work, I persevered and got it to work with some small changes.
Regards Keith.
-
Account Deleted By the way, I noticed that not all the events on the treeview that I used are supported by the presenter. Should I just continue to use the events as before, or should I be doing something else?
Regards Keith
-
repo owner - changed status to closed
The Presenter is an abstraction. It it would support all events of the Virtual Treeview it would not be an abstraction anymore. If you use some custom logic that the presenter is not handling, then leave that in your treeview or inherit the presenter to additionally handle the logic.
I am closing the issue now as the original question has been answered I think.
- Log in to comment
Unfortunately due to lack of time development on DSharp.Presentation has been paused some while ago. So this is not part of the Spring4D compatibility.
Normally it just requires replacing the lists and events with those from Spring4D but if that would just work I would have done that already. So there was some more to do which I did not have the time for yet.
If everything works out as planned development will continue in 2015