-
-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] UIKit.UIKitThreadAccessException in iOS as canExecute: this.IsValid() doesn't tick in MainThread #70
Comments
Hey @gsgou 👋, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially. https://opencollective.com/reactiveui
|
@gsgou this is expected behavior. ReactiveCommands do not explicitly schedule anything on the UI thread. Since |
@michaelstonis tks a lot, i get it now. |
* Use OAPH instead of ROOC * Fix error sharing when last property is the same (#60) * Use the main thread scheduler in this.IsValid (70) * Switch over from BPV to IPVC (#61) * Fix duplicating validations * Bring back the scheduling fix until we ensure it finally works without it * Fix typo * Access _validationSource directly * The scheduling fix is no longer needed * Don't break ROOC public API * build(deps): bump PublicApiGenerator from 10.1.0 to 10.2.0 Bumps [PublicApiGenerator](https://github.com/PublicApiGenerator/PublicApiGenerator) from 10.1.0 to 10.2.0. - [Release notes](https://github.com/PublicApiGenerator/PublicApiGenerator/releases) - [Commits](PublicApiGenerator/PublicApiGenerator@10.1.0...10.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * Evil serializable attributes Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
UIKit.UIKitThreadAccessException in iOS as canExecute: this.IsValid() doesn't tick in MainThread
Steps To Reproduce
Bind Command to any Xamarin Forms Button,
SomeCommand = ReactiveCommand.CreateFromObservable(
observable,
canExecute: this.IsValid());
UIKit.UIKitThreadAccessException is thrown
Expected behavior
No thrown UIKit.UIKitThreadAccessException
Environment
Additional context
Workaround:
The text was updated successfully, but these errors were encountered: