Android how to add an expandable listView for navigation drawer item?

I have a navigation drawer with items & sub items where drawer items layout like this

  <item android:title="items"
        android:icon="@drawable/items"
        >
        <menu>
            <item
                android:id="@+id/addItem"
                android:title="items collection one" />
            <item
                android:id="@+id/editItem"
                android:title="items collection two" />
            <item
                android:id="@+id/viewItem"
                android:title="items collection three />
        </menu>
    </item>

I have more than one like previous one I need the children items to have expandable listView appearing when onClick event I found tutorials on adding expandable listView to navigation drawer but I need to to add it not to the drawer itself but to the items of drawer like this question here

Use custom layout for your Drawer , which contain RecyclerView. Expandable list is created by using appropriate adapter for RecyclerView