在启动屏幕中创建对象以供稍后使用
我从 RSSfeed 中读取内容并创建该 feed 的对象。由于这需要时间,我想让它在闪屏期间读取提要。启动画面加载后,将出现扩展 TabActivity 的主菜单,单击选项卡后,将出现扩展 listActivity 的下一个活动。
将对象从启动屏幕获取到扩展 listActivity 的第三个活动屏幕的最佳方法是什么?
I read from a RSSfeed and create an object of that feed. As this takes time I want to have it read the feed during the spash screen. After the splash screen loads the Main Menu appears which extends TabActivity, after clicking a tab the next activity which which extends listActivity appears.
What is the best way to get the object from the spash screen to the 3rd Activity screen which extends the listActivity?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以启动一个可以获取对象的服务,将其存储在内存(或数据库、文件等)中,然后在需要时使用它!
希望这有帮助!
you can start a service that can fetch the object, store it in the memory (or database, file, etc) and then use it whenever you want!
Hope this helps!