SlidingMenu icon indicating copy to clipboard operation
SlidingMenu copied to clipboard

Sliding menu not closing

Open alvaronuwit opened this issue 10 years ago • 4 comments

Hi, I'm using slidingmenu and I want to close de menu when I press one of the elements on the menu. I use the showMenu() method, but this don't close the menu at all. My set up is a main activity with an ActionBar, inside there are 2 fragments one for the menu and the other for the content of the section selected. So, I click over a menu item, It changes the fragment but, when I call showMenu() to close the menu, It doesn't close at all. Any help you can give? Thanks

alvaronuwit avatar Dec 02 '14 15:12 alvaronuwit

to hide menu you need to call showContent() not showMenu()

Fiddl3 avatar Dec 02 '14 15:12 Fiddl3

Thanks man, I write this comment, and then I realize that showContent close the menu. Best Regards

alvaronuwit avatar Dec 02 '14 15:12 alvaronuwit

No problem :ok_hand:

Fiddl3 avatar Dec 02 '14 15:12 Fiddl3

so am i,thanks the problem

zhongjie-chen avatar Sep 21 '15 06:09 zhongjie-chen