Navigation drawer doesn't close

后端 未结 11 1106
暖寄归人
暖寄归人 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条回答
  •  萌比男神i
    2021-02-08 04:22

    Try

    drawer.closeDrawer(Gravity.START);

    Your drawer gravity is start so Use that to close the corresponding drawer

提交回复
热议问题