If I have a view - myCoolView
- and I'd like to change the text of a button in the view, how do I do it?
Given that I know that the button is called, say, myCoolButton
, and it was added to the view in some function, and now, in a different function I have access to myCoolView
, how do I change the button text?
I checked the Titanium API and I cannot see a "getter" call on a view to access anything that was added to it via the add
method.