viezel / NappDrawer

A side drawer navigation container view controller for Appcelerator Titanium.
MIT License
248 stars 128 forks source link

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

Open Max87ZA opened 6 years ago

Max87ZA commented 6 years ago

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.