Comments (12)
there is no drawer close functionality. Its a wrapper functionality for a special navigation paradigm.
You could try to null the drawer
from nappdrawer.
That's a pitty, I really need to actually close the native views the module creates. Well, it works to just have newly pushed updated open new instances over it, until memory is full ;)
from nappdrawer.
Well you could replace the window and then null the replaced one.
from nappdrawer.
Don't think that would make a difference since the window would still be there. The JS reference will be gone anyway since TiShadow cleans up the files.
from nappdrawer.
I could really use this functionality as well, as referenced by dbankier. Did you get it working, FokkeZB?
from nappdrawer.
No, without the module exposing a close-method there's nothing to do about it.
from nappdrawer.
Ive added it in:
https://github.com/viezel/NappDrawer/releases/tag/1.1.4
from nappdrawer.
I should state, that this is somewhat experimental.. Let me know if it works.
from nappdrawer.
Thanks viezel - any idea when you will have time to make the close-method for Android? That's where I'm having problems with TiShadow and NappDrawer.
from nappdrawer.
not sure.. I got a lot on my plate atm. You could dig into the code and make a PR?
TMO, java is not that different from javascript
from nappdrawer.
Darn! I suppose you're right - it's just a lot to learn for me at the moment, to be able to do it :(
from nappdrawer.
@bitfabrikken David will push an update for TiShadow tomorrow which will no longer need this.
For the moment you can do:
if (Ti.Shadow) {
Ti.App.addEventListener("tishadow:refresh", function() { Ti.App._restart(); });
}
from nappdrawer.
Related Issues (20)
- Setting the title and nav buttons on the status bar (iOS)
- (Android) NappDrawer not showing when resuming to app via intent HOT 1
- App crashes when setRightWindow only HOT 5
- Not working with SDK 6.3.0 HOT 5
- How to reopen drawer which is closed by drawer.close()
- Latest Titanium SDK not support HOT 6
- iOS — Open Drawer Animation Bug (v2.0.0) 🐛 HOT 6
- App crashes after setting centerWindow multiple times (iOS) HOT 18
- Child windows orientations HOT 8
- Build errors when trying to compile with 7.0.2.GA HOT 1
- RefreshControl in listview is lost after switching between winodws.
- iOS - setLeftWindow(false) throws error using Titanium 7.1.0 GA HOT 1
- [Android] Drop-down list not shown in Webview HOT 2
- 8.0.1.GA Support HOT 5
- [Android] addWindowToStack error using v2.0.2 in TiSDK 8 HOT 2
- iOS module is not working with latest SDK 8.2.0.GA. HOT 1
- iOS module not working on iOS 13 VoiceOver
- 2.1.1 version of navdrawer cause app crashing HOT 1
- drawer.setAnimationMode not working on sdk 10 HOT 1
- Crash on iOS 12.5.4 and Ti SDK 10.0.0.GA HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nappdrawer.