Skip to content

Conversation

@artetrad
Copy link

Hi! Great library we are using it for a few months.

We wanted to be able to put a badge in the nav drawer's toggle using the support library's setDrawerArrowDrawable() on the ActionBarDrawerToggle class. This was something not possible since the ActionBarDrawerToggle is constructed internally in the SlidingRootNavLayout class.

So based on the following stack overflow post I added the functionality to the SlidingRootNav interface:

BadgeDrawerToggle getBadgeDrawerToggle();

https://stackoverflow.com/questions/43881131/android-how-to-add-badge-counter-to-hamburger-navigation-menu-icon/43886113#43886113

@artetrad
Copy link
Author

artetrad commented Oct 4, 2017

screenshot_2017-10-04-11-57-10-449_com yarolegovich slidingrootnav sample

@artetrad
Copy link
Author

artetrad commented Apr 2, 2018

@yarolegovich Hi! Would you be interested in reviewing the PR? Thanks in advance!

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

Successfully merging this pull request may close these issues.

1 participant