material-components / material-components/material-components-android

[List] Add feature for saving List component settings to persistent storage

Offen
#5,000 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@imhappi arbeitet bereits daran.

Seit 21.1.2026.

feature request Widget: ListItem
Vorherrschende Sprache
Java
Sterne
17.4k
Forks
3.2k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Description of current situation
If I understand correctly, the M3 Expressive Lists are the new way for building a Preference Screen as the PreferenceScreen is obviously not redesigned anymore for M3 (Expressive).

Currently, the Catalog app contains some M3 Expressive examples with Lists (ListItemCardView), including components such as RadioButtons (MaterialButton), CheckBoxes (MaterialCheckBox), etc.

Describe the solution you'd like
It would be great if you can add a small feature / enhancement e.g. to the ListItemCardView example that shows how to save the settings, e.g. from RadioButtons (MaterialButton), CheckBoxes (MaterialCheckBox), etc. to the persistent storage. When closing / re-opening the app, the settings should be reloaded from the persistent storage.

See https://github.com/material-components/material-components-android/issues/4997 & https://github.com/material-components/material-components-android/issues/4940

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.