MVVM samples don't compile

Issue #19 closed
Former user created an issue

Look like file DSharp.Collections.pas is absent in branch feature/spring4d_compatibility

Comments (10)

  1. Stefan Glienke repo owner

    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

  2. Former user Account Deleted

    ok. Such as can't compile samples I should ask about compatibility between FireMonkey and DSharp.

  3. Former user 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

  4. Former user Account Deleted

    Can you tell about correct branches/revision of DSharp(Caliburn?) and Spring4D(?) for FMX, please?

  5. Former user 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.

  6. Former user Account Deleted

    Hi Stefan,

    Which branches of DSharp/Spring4d do I need to build in order to be able to use TreeviewPresenter?

    Regards Keith

  7. Stefan Glienke repo owner

    @kgiddings Spring4D master (1.1 release) and DSharp feature/spring4d-compatibility

  8. Former user 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.

  9. Former user 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

  10. Stefan Glienke repo owner

    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.

  11. Log in to comment