hello everyone. I created a function that adds "createTableViewRow" and each "row" is added "row.sessionObject = response;" which allows me by clicking on the row to retrieve the corresponding information. Everything works, but now I want to do the same for "view" that are added to a "ScrollableView".
My code for the createTableViewRow:
function Infoslist(response){ var item = response; var row = Ti.UI.createTableViewRow({height:'auto',backgroundColor:"#FFF",height:45}); // HERE row.sessionObject = response; // row.add(Ti.UI.createLabel({ text:response.heure, color:'#6C6494', textAlign:'left', left:10, top:15, width:'auto', font:{fontWeight:'bold',fontSize:12} })); ...etcMy code for view:
function SlideShow(response){ var self = Ti.UI.createView({ backgroundImage:'/img/'+response.imgFocus }); return self; };