更改钛合金上一个窗口的视图内容
我这里有一个情况。我有一个带有标签的视图。我有一个按钮。单击后,它将打开一个带有文本框和关闭按钮的新窗口。一旦我插入文本并按下关闭按钮,窗口将关闭,前一个窗口的标签将自动更新为我插入文本框中的单词。我可以知道如何更新上一个窗口的视图吗?谢谢。
钛金1.6.1、安卓1.6
I have a situation here. I have a view with a label. And I have a button. Once it is clicked, it will open a new window with a textbox and close button. And once I have inserted a text and press the close button, the window will close and the label at the previous window will automatically updated with the word that I insert into the textbox. May I know how can I update the view of the previous window? Thank you.
Titanium 1.6.1, Android 1.6
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以通过触发事件将值传回,或者可以将标签对象从第一个屏幕传递到第二个屏幕。
you would pass the value back through firing an event OR you could pass the label object from the first screen to the second screen.