Yesterday I followed 2 tutorials to implement the
component for my Drawer instead of using a
. Since it's a lot smarter, I was wondering if there's an integrated way of keeping track which item is selected and when you select a new one, the old selection is removed?
Or should we implement that logic? Should I just keep 2 integers with the ID of the selected element, one
and uncheck the old one?
Suggestions are welcome, thank you!