AsyncRelayCommand.NotifyCanExecuteChanged() must be run on the main thread
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 48/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- android
- Domain
- documentation
Research direction
Start with docs/mvvm/AsyncRelayCommand.md, linked from the issue, and review the section describing NotifyCanExecuteChanged(). Document the Android main-thread requirement and verify that the guidance clearly tells readers when this call must be made. Done means the article covers the reported crash scenario without changing the toolkit implementation.
Written by the indexing model from the issue text.
Description
Type of issue
Missing information
Description
In multiple instances, after calling MyAsyncRelayCommand.NotifyCanExecuteChanged() my Android app was crashing because this call needs to be run on the main thread.
Page URL
https://learn.microsoft.com/en-us/dotnet/communitytoolkit/mvvm/asyncrelaycommand
Content source URL
https://github.com/MicrosoftDocs/CommunityToolkit/blob/main/docs/mvvm/AsyncRelayCommand.md
Document Version Independent Id
708935cd-5970-b89b-8443-2e758f35a54b
Article author
@Sergio0694
Metadata
- ID: 708935cd-5970-b89b-8443-2e758f35a54b
- Service: dotnet-communitytoolkit
- Sub-service: mvvm-toolkit
- Dominant language
- No language data
- Stars
- 168
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MicrosoftDocs/CommunityToolkit
-
dotnet-communitytoolkit/svc dotnet-maui-community-toolkit/subsvc Pri2
Difficulty 1/5 1-3 hours Newbie friendliness 91/100
MicrosoftDocs/CommunityToolkit#651 · 1 comment ·
-
Just a typo? Opencommunity-toolkit/prod dotnet Pri2
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
dotnet-communitytoolkit/prod maui Pri1
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
dotnet dotnet-communitytoolkit/prod Pri1
Difficulty 1/5 Under an hour Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
MicrosoftDocs/CommunityToolkit#659 · 1 comment ·
All issues in MicrosoftDocs/CommunityToolkit
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
user-reported
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kong/developer.konghq.com#7316 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·