-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug 🐞
After installing or updating to the latest version of ReactiveUI, an exception is thrown about Looper threads when you create a property and a command to update its value. This is related to UI updates from a thread other than the UI thread.
Step to reproduce
- Create a new project
- Install ReactiveUI 22.1.1
- Create a simple VM with a Property and a Command.
- Bind both the command and the property to the UI
- See error
Reproduction repository
https://github.com/Daxter98/RxDemoApp
Expected behavior
It should change the value of the property.
Screenshots 🖼️
No response
IDE
Visual Studio Code
Operating system
Linux
Version
No response
Device
Motorola Edge 50 Pro
ReactiveUI Version
22.1.1
Additional information ℹ️
I tried using this builder I found on another issue, #4147 , below the initial maui builder
RxAppBuilder.CreateReactiveUIBuilder()
.WithMaui()
.Build();
Tried using MainThread.BeingInvokeOnMainThread inside the method, setting outputScheduler to RxSchedulers.MainThreadScheduler and nothing worked.
DOTNET VERSION: 10.0-rc2
Platforms Tested: Android, iOS.
Happens in both Release and Debug mode.
If I go back to version 20.4.1 it works perfectly.