Android Question Drawer Menu does not show menu

DanteS

Member
Licensed User
Longtime User
I added the Drawer Menu to a project with 3 pages, something similar to the work Erel did with the ThreePagesExample project.
The application runs almost fine, but it doesn't display the menu. I know you must be thinking that the work done is not worth 2 cents, but believe me, it's almost ready.

When you are on the page where the hamburger icon appears at the top of the page and you click on the icon, the process jumps to this Sub in the main code.

B4X:
Sub Activity_ActionBarHomeClick
    ActionBarHomeClicked = True
    B4XPages.Delegate.Activity_ActionBarHomeClick
    ActionBarHomeClicked = False
End Sub

When the process executes the second instruction (B4XPages.Delegate.Activity_ActionBarHomeClick) the application stops. If I comment out the instruction, the process continues without problem, but the menu doesn't appear

Any ideas to solve this situation?
 
Top