I'm building an application with Titanium SDK 3 using the AlloySliderMenu widget.
This widget reates a slider menu like Facebook application. It sounds like it is easy to use, but i'm facing the following issue.
In the index.xml I require the widget.
In the index.js of the application, I have the following piece of code:
currentView = Alloy.createController('list').getView();
//ds is the slider menu id
//contentview in the main panel of the menu
$.ds.contentview.add(currentView);
This opens my 'list' view in the main window of the application.
The issue is, in my list.js controller, I have a function which is supposed to change the $.ds.contentview content ith another view on a click action of a button. But I'm unable to access the $.ds.contentview from the list container and use this object.
I've tried Alloy.createWidget etc.. but no way, it won't work.