Hi eveyone ! I have a `LazyColumn` where doing a l...
# compose
l
Hi eveyone ! I have a
LazyColumn
where doing a long click on each of item is supposed to show the same
DropDownMenu
but above the item. I know that I can control the position of the
DropDownMenu
using a
Box
, but what is the most efficient way to handle this feature ? Should I add conditionnaly (with an
if
clause) a
DropDownMenu
for each item ? I mean, inside each item inside
LazyColumn
, use a
Box
and
if(menuOpened){ DropDownMenu{...}}
? Or should I avoid that ?
Is this a good solution ? Or can I do better ?