Closed merlin-zaraza closed 2 years ago
@merlin-zaraza thank you for the report.
This is not possible at the moment as the res id will also be used as identifier for the item itself: https://github.com/mikepenz/MaterialDrawer/blob/develop/materialdrawer-nav/src/main/java/com/mikepenz/materialdrawer/model/NavigationDrawerItem.kt#L23
@mikepenz thanks for reply. Could you make possible to use item identifier instead of resId?
@merlin-zaraza you should be able to adjust the identifier
of the items after creating:
NavigationDrawerItem(...).also { it.identifier = 123 }
Closing due to inactivity
About this issue
I have multiple NavigationDrawerItem with same resId and when I'm trying to select this item - navigation works, but selection doesn't. Selection is dropped to first item.
Details
Checklist