Giter Site home page Giter Site logo

Comments (12)

viezel avatar viezel commented on June 16, 2024

there is no drawer close functionality. Its a wrapper functionality for a special navigation paradigm.
You could try to null the drawer

from nappdrawer.

FokkeZB avatar FokkeZB commented on June 16, 2024

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.

viezel avatar viezel commented on June 16, 2024

Well you could replace the window and then null the replaced one.

from nappdrawer.

FokkeZB avatar FokkeZB commented on June 16, 2024

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.

bitfabrikken avatar bitfabrikken commented on June 16, 2024

I could really use this functionality as well, as referenced by dbankier. Did you get it working, FokkeZB?

from nappdrawer.

FokkeZB avatar FokkeZB commented on June 16, 2024

No, without the module exposing a close-method there's nothing to do about it.

from nappdrawer.

viezel avatar viezel commented on June 16, 2024

Ive added it in:
https://github.com/viezel/NappDrawer/releases/tag/1.1.4

from nappdrawer.

viezel avatar viezel commented on June 16, 2024

I should state, that this is somewhat experimental.. Let me know if it works.

from nappdrawer.

bitfabrikken avatar bitfabrikken commented on June 16, 2024

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.

viezel avatar viezel commented on June 16, 2024

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.

bitfabrikken avatar bitfabrikken commented on June 16, 2024

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.

FokkeZB avatar FokkeZB commented on June 16, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.