Quantcast
Viewing all articles
Browse latest Browse all 8068

access model on the click of button

Hi All,

I am developing an ios app using alloy framework 1.3.0. For that i m using titanium 3.2.0 sdk and testing the app on simulator.

I have 2 views and in 1st view i have a button on the click of which i am going to open view2. But on the same time i want to access a model and pass the info to view2. Lets say i have 'question' model and i want to access it on the click of button.As we dont have onload function for views, i believe we can access it on button click only. what should be the approach to achieve it? Is there any example available on the similar cause?

Thanks in advance.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



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