Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method to Close and Open the drawer #21

Open
komlan55 opened this issue Oct 9, 2016 · 3 comments
Open

Method to Close and Open the drawer #21

komlan55 opened this issue Oct 9, 2016 · 3 comments

Comments

@komlan55
Copy link

komlan55 commented Oct 9, 2016

There is currently no way to open or close the drawer other than swiping

@alashow
Copy link

alashow commented Oct 9, 2016

See #10 and #15

@vikramkakkar I think you need to add this to readme or something :)

@komlan55
Copy link
Author

komlan55 commented Oct 9, 2016

where do I get the drawerlayout?

@vikramkakkar
Copy link
Owner

@komlan55 DrawerLayout is provided by Android Support-v4 library:

android.support.v4.widget.DrawerLayout

DrawerLayout will house SublimeNavigationView, and you would use ActionBarDrawerToggle from Android Support-v7 library to open/close the DrawerLayout:

android.support.v7.app.ActionBarDrawerToggle

Follow this blog post and replace NavigationView with SublimeNavigationView in your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants