realm-dotnet icon indicating copy to clipboard operation
realm-dotnet copied to clipboard

Add Reactive sample

Open AndyDentFree opened this issue 9 years ago • 7 comments

Swift product says it has a short example of using Realm with ReactiveCocoa from Objective-C, and ReactKit from Swift..

We need to decide which Reactive toolkit to use:

AndyDentFree avatar Jan 20 '16 00:01 AndyDentFree

+1 ReactiveUI

mtilbrook-dev avatar Jan 20 '16 05:01 mtilbrook-dev

RxUI maintainer here, you should totally choose ReactiveUI because we invented ReactiveCocca (true story). The GitHub Mac developers got jealous of GitHub Windows developers and they got in a room and event up copying the API 1:1. To this day we remain the best of friends.

Redux.NET doesn't have the community or platform coverage that we do.

ReactiveX isn't a UI framework - it provides the foundations IObservable, subscriptions, and all that jazz. Similar from RxJS (which was born out of ReactiveX). You would end up rewriting ReactiveUI ;-)

Hoola if you need help. You and anyone else interested in FRP/Reactive programming should totally join us in our Slack room which funny enough is home of ReactiveCocoa as well.

https://github.com/reactiveui/reactiveui#slack

RxUI's own samples and documentation are in active development, right now I'm unwinding the build so we can get CI building which is just so damn complex, 10 platforms, 2 different CI vendors and 1 on physical device integration testing facility. Happy to drop that task and any task for anything that helps build out the community. Again, join us in Slack. :-)

ghuntley avatar Jan 20 '16 07:01 ghuntley

I agree. ReactiveUI has more audience then others. Would like to see some examples with it.

umurgdk avatar May 10 '16 17:05 umurgdk

That's one of the first things I'd like to do as soon as I land https://github.com/realm/realm-dotnet/pull/502/commits/f4169276e3c197a875f2aca259c24e80700344ab. Of course, it'd be great if someone were to make a ReactiveUI facade for this.

fealebenpae avatar May 10 '16 17:05 fealebenpae

+1 for ReactiveUI

promontis avatar Aug 29 '16 14:08 promontis

@AndyDentFree @marukami @ghuntley @umurgdk @fealebenpae @promontis I developed a sample app using Xamarin.Forms, ReactiveUI and Realm. The app has a SearchBar and a ListView. User can add items to the listview. User can search the items in the list from SearchBar at the top. I got lots of help from ReactiveUI slack channel and stackoverflow to get this to work properly. The link to the app is https://github.com/HobDev/ReactiveUISample. But still this app have some issues. Firstly the items added does not get displayed immediately. When I restart the app then only the added items displayed. Another issue is accessing realm in different methods. I request all the concerned people to contribute and make this sample app perfect example of using Realm with ReactiveUI.

HobDev avatar Aug 05 '19 10:08 HobDev

This ReactiveUI Sample is now fully working after merging the above Pull Request.

HobDev avatar Nov 12 '20 14:11 HobDev