I have a standard Navigation Drawer, pre-created by Android Studio and want to populate it with number of groups. I started with this:
You also required to have an outer group with android:checkableBehavior="single" so that no two item is selected one from First Category and other from Second Category. Here is the working code.
android:checkableBehavior="single"
First Category
Second Category