I know to get this done within an eventlistener e.g. on click with textField = e.source.children[1];, but not outside / directly.
My Setup
Template
[ { type: 'Ti.UI.ImageView', // Use an image view allowsSelection: false, properties: { left: '10dp', width: '16dp', height: '16dp', image: '/images/compose.png', } }, { type: 'Ti.UI.TextField', bindId: column.fieldName, autocapitalization : Titanium.UI.TEXT_AUTOCAPITALIZATION_ALL, , properties: { width: '70%', height: OS_IOS ? '100%' : null, left:'32dp', zIndex:0, hintText: column.hintText, paddingLeft: 10, font : { fontSize : 20 }, clearButtonMode:Titanium.UI.INPUT_BUTTONMODE_ALWAYS, autoCapitalization: Titanium.UI.TEXT_AUTOCAPITALIZATION_ALL, autocorrect : false, } }, { type: 'Ti.UI.Button', properties: { right: '10dp', //width: '16dp', //height: '16dp', image: '/images/download.png', zIndex:30, }, }, ]The object I get with
listView.sections[0].getItemAt(0) doesn't store any references to the subviews, right? So how can I get the value of these field?