Navigation drawer doesn't close

后端 未结 11 962
暖寄归人
暖寄归人 2021-02-08 03:44

The navigation drawer in my app is not closing. I am using activities instead of fragments. When i click on any item in the listview, it opens other activities as i

11条回答
  •  心在旅途
    2021-02-08 04:12

    You need to close the drawer on list item click

    drawer.closeDrawer(navList);
    

    Also what is the use of FrameLayout in your xml. It is not used as a container to add or replace fragments

提交回复
热议问题