Skip to content Skip to sidebar Skip to footer

Slidingmenu(jfeinstein) - How To Control Secondary Sliding Menu

I am using jfenstein's sliding menu lib. But I need to control two sliding menus separately. Sometimes second has to be disabled.And sometimes first slidingmenu has to be disabled.

Solution 1:

I have the same problem and I fix it with the following :

//can openleftandright panel
menu.setMode(SlidingMenu.LEFT_RIGHT);

//can onlyopenleft panel andshowonlyleft (perhaps overlay the right panel ?) 
menu.setMode(SlidingMenu.LEFT); 

but it only works to "disable/make invisible" the right panel if you do :

menu.setMode(SlidingMenu.RIGHT);

it only show the left panel on the right.

Post a Comment for "Slidingmenu(jfeinstein) - How To Control Secondary Sliding Menu"