Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var data = [{title:'hello',hasChild:true}];
- var d = getSpeakers(function(res){
- for(i=0;i<=res.length;i++){
- Ti.API.info(res[i].name);
- data.push({title:res[i].name, hasChild:true});
- }
- });
- var tableView = Titanium.UI.createTableView({
- data:data
- });
Add Comment
Please, Sign In to add comment