Skip to content

[Mvux][ListState] Can we get a DictionaryState beside a ListState using a ReactiveDictionary? #2709

Description

@DevTKSS

What would you like to be added:

Keyed ListState similar to observableDictionary

Why is this needed:

Would like to use this in a application of mine where a Dictionary with added INotify... event is common used.
Should allow selectivly binding specific Items in a ListView along keyes and support a Command like Refresh like its supported in the FeedView or Update if the user wants to change this value to be a problem with immuability what is currently making me struggle to just add this as PR.
Common List is imperfect because of Enumerating system of Dictionary for better performance. Each item in this Dictionary has a kind of description property (non changeable) in the ui what is making it also important to have the key to refer to while the business logic should be able to not care at all about how this is named in the ui part of the solution.

For which Platform:

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

Anything else we need to know?

Would work on this to add as new feature but it would be good to have someone more experienced one with states/mvux to exchange on this

In the end I would love to use this new feature also for my business & production applications

Activity

  1. added
    kind/enhancement
    triage/untriaged
    on Mar 4, 2025
  2. DevTKSS commented on Apr 15, 2025

    @DevTKSS
    ContributorAuthor

    Workaround maybe over defining IListFeed + IListState, but assuming this not including the performance and inner structure a Dictionary e.g. with KeyValuePairs would have

  3. changed the title [-][Mvux][ListState] what about adding a kind of keyed ListState similar to a observableDictionary?[/-] [+][Mvux][ListState] Can we get a ReactiveDictionary for something like DictionaryState beside a ListState?[/+] on May 10, 2025
  4. changed the title [-][Mvux][ListState] Can we get a ReactiveDictionary for something like DictionaryState beside a ListState?[/-] [+][Mvux][ListState] Can we get a DictionaryState beside a ListState using a ReactiveDictionary?[/+] on May 10, 2025
  5. DevTKSS commented on May 10, 2025

    @DevTKSS
    ContributorAuthor

    on Reactive itself there is a ReactiveDictionary I think seen it, so maybe we can get that in uno reactive also?

  6. added theissue type on Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementtriage/untriaged

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions