viezel/NappDrawer

How to reopen drawer which is closed by drawer.close()

Opened this issue · 0 comments

Hi guys,
I encountered a problem how to reopen closed drawer.
I have logout function(on android) which closes drawer window and opens login window.
Problem is, that when I call drawer.close() and then after successfull login drawer.open(), nothing happens(printing it to console throws Java.NullPointer.Exception error).
It's pretty simple - just recreate drawer with original properties after it closes.