SyntaxFix
Write A Post
Hire A Developer
Questions
Insted of
drawer.setDrawerListener(toggle);
You can use
drawer.addDrawerListener(toggle);