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

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

Aperta
#5,000 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@imhappi ci sta già lavorando.

Dal 21/1/2026.

feature request Widget: ListItem
Lingua principale
Java
Stelle
17.4k
Fork
3.2k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.