Titanium Appcelerator Quickie: Navigation Groups - Clearly Innovative | Web and Mobile DevelopmentClearly Innovative | Web and Mobile Development

Need Help With A Mobile Development Project?

UPDATE FOR 1.5 RELEASE: It appears that the property “parent” is now used by window and was breaking the sample code below

SHOULD NOW BE

Just wanted to put out a simple example of Navigation Groups with two detail levels since I haven’t seen a sample out in the wild.

In the process, I realize there is no way to pop to the root controller like you can do in objective-c… which is a pain.

The special sauce I use in this example is passing the original navigation group object along when the new window is created. This allows for the new context that was created to still have access to the root window.

If you have any question, just post something in the comments.

app.js

detail_window1.js

detail_window2.js

Need Help With A Mobile Development Project?