Navigation drawer doesn't close

后端 未结 11 948
暖寄归人
暖寄归人 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

    have you tried :

    mDrawerLayout.closeDrawer(drawerListView);
    

    You can add this before calling startActivity()

提交回复
热议问题