Hi, I'm porting a table view to a list view, and try to work with templates. in my table view I had a code like this :
var v = Ti.UI.createView({left:4,width:64,height:64}); var img = Ti.UI.createImageView({ image: prop.imgFile64, //top: 4, width:"auto", height:"auto", borderRadius:4, type:"thumb" }); v.add(img); row.add(v);here an imageView is added to a View in a row. But how to this with a template ? I know how to add a View but how to add a child to this View ?
Regards