Skip to content
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

Need ListState.UpdateItemAsync #2582

Open
5 of 6 tasks
dr1rrb opened this issue Oct 4, 2024 · 0 comments · May be fixed by #2642
Open
5 of 6 tasks

Need ListState.UpdateItemAsync #2582

dr1rrb opened this issue Oct 4, 2024 · 0 comments · May be fixed by #2642
Assignees
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.

Comments

@dr1rrb
Copy link
Member

dr1rrb commented Oct 4, 2024

What would you like to be added:

When an item T implements IKeyEquatable<T>, we should be able to do await ListState.UpdateItemAsync(oldT, newT).

Currently we need to do something like : ListState.UpdateAllAsync(t => t.KeyEquals(newT), newT);

Why is this needed:

Simplicity

For which Platform:

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renders for Xamarin.Forms
  • Windows
  • Build tasks

Anything else we need to know?

@dr1rrb dr1rrb added kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification. labels Oct 4, 2024
@ajpinedam ajpinedam self-assigned this Oct 5, 2024
@ajpinedam ajpinedam linked a pull request Dec 11, 2024 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request. triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants