Excellent work mate.... Just to let you know, there is a bug, if the keyboard is open, and you press the menu key, the SlideMenu behaves unexpectedly. It shows the menu, but no click event get registered.
mBackPanel.BringToFront
mSlidePanel.BringToFront
mListView.BringToFront
cheers mate. That did indeed solved the problem.I had a similar problem. After three clicks the events stopped being registered.
Just after
B4X:mBackPanel.BringToFront mSlidePanel.BringToFront
I added
B4X:mListView.BringToFront
That solved my problem.
See line 81,82 in the class.
Thanks for a great class!
Can someone confirm a bug for me? To reproduce:
Set one of the Item's to start a separate activity
Open Menu
Select Item (opens new activity)
Go back to first activity
Open Menu
On my device the menu will open and close really fast. I have to press menu once again in order to open and use it. I am assuming something needs to go in Activity_Resume, just not sure what exactly. Anyone?
Public Sub SetVisible (Visible As Boolean)
mSlidePanel.Visible = Visible
End Sub
sm.SetVisible(False)
Hi
I like the slide menu so I included it in my app. However the software crashes now. I included the code that JonPM suggested.
To get an crash do the following:
- download slidemenucrash.zip
- start app
- open the menu
- slowly (!!) press on the Screenshot - or About & Help item
The strange thing is that when you click the item very fast it all goes well.