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

[Exposed DropDown Menu] Adding Icon and text for the selected view

Aperta
#4,075 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@EnriekNP ci sta già lavorando.

Dal 21/2/2024.

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

Descrizione

Greetings,

I have utilized the exposed dropdown menu functionality, and I am currently exploring options for overriding the selected dropdown view. Specifically, I am interested in customizing the display of the selected item to include both an icon and accompanying text. While I have successfully overridden the dropdown view, I have yet to implement the desired customization for the selected view. Currently, it returns an object in the format of "Object(icon=222, name=test)".

I would appreciate any guidance or assistance in achieving this customization.

Thank you for your attention to this matter

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.