TiWindowStack
TiWindowStack copied to clipboard
An Alloy widget to manage windows stack in same code for iOS and Android, with drawer support
TiWidowStack
Manage iPhone and Android windows in same code base.
Get it 
Download the latest distribution ZIP-file and consult the Titanium Documentation on how install it, or simply use the gitTio CLI:
$ gittio install ti-window-stack
Examples
Example #1
Side menu example using Fokke Drawer Widget over NappDrawer or DrawerLayout

Example #2
Simple Todo app

How to
Check #Examples for now
Contributions
Your issues and pull requests are most welcome.
Changelog
v1.1.4
- Untabify (using 4 spaces tabs).
- Adding public function
size(). - Change the order we interact with the stack before opening a new window.
- Linting + documentation.
v1.1.3
- Fix back compatibility with iOS 9.3.
v1.1.2
- Now home function can work without the noisy effect, thanks @Claymm.
- Fix bug with Titanium SDK 5.5.0.GA.
v1.1.1
- Fix destroy on Android can't call callback function.
v1.1.0
- Allow to manage right or left side menus window stack, related issue:
windowStack.setTargetInDrawer(windowStack.LEFT_WINDOW);.
v1.0.4
- Fix window can't close on Android.
v1.0.3
- Better implementation for home method.
v1.0.2
- Small fix for center window menu in Android.
v1.0.1
- Now you can modify Android menu of the drawer container window directly from your center view.
v1.0.0
- First version with home, back and destroy methods.