Giter VIP home page Giter VIP logo

Comments (8)

glennawatson avatar glennawatson commented on May 5, 2024 1

This change is happening in the next few days.

from rfcs.

glennawatson avatar glennawatson commented on May 5, 2024 1

https://github.com/RolandPheasant/DynamicData/wiki/Introduction-for-ReactiveUI-users is some documentation that Roland prepared a while back.

GitHub
DynamicData - Reactive collections based on Rx.Net

from rfcs.

RLittlesII avatar RLittlesII commented on May 5, 2024

@glennawatson @RolandPheasant
Is there any current documentation on how to get users from ReactiveList to Dynamic Data? If so, lets make sure it's visible and readily accessible. If not, is there any way we can draft something that we can provide to consumers on the differences? I know Dynamic Data has documentation, but to Glenn's point, conversion shouldn't be a labored effort where our users are stuck for hours scratching their heads.

from rfcs.

xplatsolutions avatar xplatsolutions commented on May 5, 2024

Documentation was my caveat when I tried to convert current project where ReactiveList behave strangely with DynamicData. It would be great to create a sample project to demonstrate usage.

from rfcs.

cabauman avatar cabauman commented on May 5, 2024

We should definitely make sure users see that article.

from rfcs.

sushihangover avatar sushihangover commented on May 5, 2024

Documentation was my caveat when I tried to convert current project where ReactiveList behave strangely with DynamicData. It would be great to create a sample project to demonstrate usage.

I'm looking at upgrading an "old" Xamarin.Android-based ReactiveUI and due to the obsolete nature of ReactiveList and that there is no "legacy" version of ReactiveRecyclerViewAdapter/ReactiveList (have to use IObservable<IChangeSet> now), I'm really confused on how to re-structure this app to use DynamicData, so:

Are there any sample projects using Xamarin.Android ReactiveUI/DynamicData? TIA...

from rfcs.

glennawatson avatar glennawatson commented on May 5, 2024

Jump on slack https://reactiveui.net/slack and join the #ReactiveUI channel. Someone can help you adapt your project there.

You can still use ReactiveList with theReactiveRecyclerViewAdapter

There is a second generic class with the signature ReactiveRecyclerViewAdapter<TViewModel, TCollection>

so you can derive off ReactiveRecyclerViewAdapter<MyViewModel, ReactiveList<MyViewModel>>

That will call the DynamicData overload ToObservableChangeSet<TCollection, TViewModel>() -- this will essentially convert existing collections into a IObservable<IChangeSet<T>>

from rfcs.

glennawatson avatar glennawatson commented on May 5, 2024

That overload class can handle any collection derived from ICollection<T> and INotifyCollectionChanged btw, so if you're doing single threaded collection changes you can use a ObservableCollectionExtended<T> when ReactiveList goes away.

from rfcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.