Android Question SlideMenu Problem

AbuElhaytham

Active Member
Licensed User
Hi all

I used a SlideMenu class in my application, when I click on an item to start an activity, the activity layout appears before the menu disappears, and when the activity is closed the SlideMenu appear and continue to disappear again.
How can I solve this ?
this is SlideMenu_click code:

B4X:
Sub SlideMenu_Click(Item As Object)
    sm.Hide
    Dim t As Int=Item
    Select Case t
        Case 1
            StartActivity("neworder")
        Case 2
            StartActivity("market_offers")
    End Select
End Sub
 
Top