Android Question Navigation View Drawer, the NavigationItemClick does not works [SOLVED]

Sapta

Member
Licensed User
Longtime User
Hi @corwin42 ,

Acording this post, when i click homebutton (homebutton of the Toolbar. The 3 line menu icon is animated) does not works for me in new updated library, any solution?
How show drawer when i click homebutton?

B4X:
#Region ToolBar Events
'Open or Close the drawer if the Toolbar HomeButton is clicked.
Sub Toolbar_NavigationItemClick
    If NavDrawer.IsDrawerOpen Then
        NavDrawer.CloseDrawer
    Else
        NavDrawer.OpenDrawer
    End If
End Sub
#End Region

i change code with this, still not work
B4X:
Sub Activity_ActionBarHomeClick
    Log("Yes, this one works here")
    If NavDrawer.IsDrawerOpen Then
        NavDrawer.CloseDrawer
    Else
        NavDrawer.OpenDrawer
    End If
End Sub
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…