Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Support multiple views against one controller in alloy MVC

$
0
0

I am using Titanium : 3.1.3 SDK. and developing applications on IOS7 and android 4.2. I am following Alloy MVC framework in my developement. I would like to know if it is possible to support multiple views with one controller. Consider the below scenario.:-I have 2 countries. I have a base controller and a view. From the base controller, I need to open different views for different countries but both the child views should have the same controller. Example:- From BaseController.js I would like to open ChildController_US.xml for USA and childController_UK.xml for UK.I would like to have 1 single controller childController.js


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>