How To Bind The Data In To Label In Titanium Alloy?
How can I bind data from controller to xml, My code is as follows, View: Styles '.question'
Solution 1:
I propose you use the setText(text)
property of Label. You can read more about it here: Label docs
agenames.on("reset", function() {
var agenamesLength = agenames.length;
var question;
for (var i = 0; i < agenamesLength; i++) {
question = agenames.at(i).get("quesion");
$.question.setText(question);
}
});
Post a Comment for "How To Bind The Data In To Label In Titanium Alloy?"