reactiveui Questions

3

I've just added ReactiveUI to an existing code base. Of course, for the first control I tried it with I hit a snag. I'm using it with a UserControl embedded in a TabControl. The code looks somethin...
Schechinger asked 6/7, 2016 at 5:20

3

I have the following code: IDisposable subscription = myObservable.Throttle(TimeSpan.FromMilliseconds(50), RxApp.MainThreadScheduler) .Subscribe(_ => UpdateUi()); As expected, UpdateUi() wil...
Tarnetgaronne asked 2/3, 2015 at 17:37

3

Solved

I am using the built in dependency injector/splat injector inside ReactiveUI. I have constructors where I want to pass along their applicable data repository. In other frameworks it just uses ref...
Agra asked 18/9, 2015 at 8:32

1

Solved

I am trying to use ReactiveUI along with Avalonia. Due to initialization order in Avalonia 0.10 preview following code fails: class ViewModel : IActivatableViewModel { public ViewModel(){ this.Wh...
Perfidious asked 4/12, 2020 at 16:5

3

Solved

Update: check out the example at the bottom I need to message between classes. The publisher will loop indefinitely, call some method to get data, and then pass the result of that call into OnNext....

2

I have been working on a mobile application for one week, for personal education and enhancement. I have some experience with WPF and MVVM, I have no experience with mobile development. The idea i...
Cephalad asked 12/5, 2019 at 23:38

3

Imagine I'm using a bloc to handle a network request. If the request fails, the way to handle the failure would be different depending on the platform. On my web app, I would like to redirect the u...

1

Solved

We're using ReactiveUI.WPF 11.0.1 in our .Net Core WPF application. We're looking into replacing all XAML-based bindings with ReactiveUI-based bindings. There is a ViewModel for the domain type th...
Rope asked 13/12, 2019 at 10:26

5

Solved

I would like to bind a property in my viewmodel to a ComboBox in a Windows Forms application, using ReactiveUI. I found several examples with WPF but no examples with Windows Forms. EDIT: Part 1:...
Bengurion asked 17/12, 2015 at 14:1

1

I cannot get a ViewModelViewHost to work at design time in Visual Studio. Is this by design or have I set something up wrong? In my view's ctor I have: Locator.CurrentMutable.InitializeSplat(); ...
Fledgling asked 11/1, 2017 at 2:19

1

Solved

I'm switching to the latest version of ReactiveUI (7.0) and I'm running into some incompatibilities and would like to know the suggested way to handle this: ReactiveUI 6.x Texts.Events().MouseUp ...
Lesleylesli asked 19/12, 2016 at 19:44

2

Solved

I've seen that ReactiveUI had validation features in the past. Currently, with version 6.5, I cannot find anything related to it. Do you know if there's a more or less official way to deal with va...
Neotype asked 22/1, 2016 at 17:25

3

Solved

I'm trying to use the reactiveui test scheduler with an async method in a test. The test hangs when the async call is awaited. The root cause seems to be a command that's awaited in the async met...
Cherlynchernow asked 11/12, 2018 at 16:55

1

Solved

For example, I have an observable of some collections which indicates statuses of objects (I get it periodically through REST API). class User { int Id { get; } string Name { get; } string Stat...
Freddiefreddy asked 19/12, 2018 at 12:52

1

Solved

In ReactiveUI 9, ReactiveList has been deprecated in favor of DynamicData (Blog post). I am currently in the process of trying to update my code to use SourceList. I was able to get the ViewModel t...
Rustyrut asked 10/12, 2018 at 14:51

1

Solved

I'm struggling with ReactiveUI's learning curve so this question might be naive. Please help me understand the difference between: ObservableAsPropertyHelper<string> _input public string Inp...
Geraldina asked 9/12, 2018 at 23:0

1

Solved

Thanks to @GlennWatson for pointing out that I needed to add a reference to the Nuget Package ReactiveUI.WPF, in addition to the ReactiveUI package. I have a ReactiveObject view model, within whic...
Amnesty asked 6/11, 2018 at 11:3

1

Solved

I changed my UserControl to be a ReactiveUserControl and now I can't view the Design View. Is there anything I can do to get the designer to work with ReactiveUserControl?
Refrigeration asked 7/5, 2018 at 17:17

1

Solved

I'm writing a program that is container for other, smaller programs. It loads it's modules via Assembly.Load, finds types implementing IModule and makes instances of them. In WPF MainWindow I have...
Azoic asked 25/4, 2018 at 11:41

2

Solved

I am attempting to use WhenAnyObservable for the first time. When a ReactiveList Count == 0 and a tipText length is > 0 then I want to set a local value to true in the subscribe, or the opposite....
Fidele asked 23/1, 2014 at 19:11

1

I have a window that uses a ReactiveUI Interaction to open a second window as a modal dialog, then return data from a ListBox in the second window. The problem is that when .ShowDialog() completes...
Scoutmaster asked 6/12, 2017 at 18:9

2

Solved

I have a WPF MVVM application. My model objects are POCOs that I have full control over. Some properties in these objects have a relationship between them. For example: let's say that I have pub...
Procto asked 31/8, 2017 at 22:14

1

Solved

I have a Xamarin Forms project with a .Net Standard 1.4 core library which holds all the code. I have a reference to ReactiveUI 7.4 in both the core and iOS projects. But when I compile and run on ...
Fleury asked 24/8, 2017 at 17:55

2

Solved

I'm having a hard time trying to figure the proper way to schedule long-running reactive property "getters" in my ViewModel. This excerpt from Intro to RX describes exactely what I want to do: ...
Motherwell asked 17/7, 2017 at 14:8

1

Solved

Currently I have the following block of Rx/ReactiveUI code: this.WhenAnyValue(x => x.Listras) .Where(item => item != null) .Throttle(TimeSpan.FromMilliseconds(millis)) .ObserveOn(TaskPoo...
Ilocano asked 17/7, 2017 at 15:17

© 2022 - 2024 — McMap. All rights reserved.