if I have a LazyColumn and every Item has it's own...
# compose
b
if I have a LazyColumn and every Item has it's own kebab menu (which will most likely all have the same DropDownMenuItems as each other), should each Item have it's own DropDownMenu, or should there be a single DropDownMenu on the LazyColumn that has a dynamic position based on the kebab that's clicked?
r
I'd say to not complicate and just have every item its own dropdown. It's not in a composition unless showing so perf should be the same. Not sure if anyone has a different opinion though.
b
That's kind of what I'm thinking..is there a way to set the colors for the drop-down menu, or do I just need to use composition local to provide colors for it? Seems like a mixed bag on whether a material3 composable let's you customize it or if you're forced to use composition local to change the colors that are being shown? Also can you add any shapes or something to the menu? My design shows a little triangle arrow at the top or bottom of the menu that points to the icon that triggered the menu.