实际上,我从Web中获取XML,解析并将其显示在屏幕上。我得到的问题是,每次调用活动时活动都会尝试从Web上加载数据(实际上,我的移动应用程序需要频繁访问服务器)因此,我在寻找以下解决方案:在重新启动活动时快速加载数据
On Re-launch of an activity, the data from web should not be loaded again.
creating a class that i can use to transparently make application faster by
selectively caching items in memory. And thus, making users very happy and
This class can even apply individual refresh times to each cached item.
所以,我想我需要将数据存储在缓存或类似的东西。
是否有任何方式/技术来实现这样的事情?因此无需每次都重新启动活动。
thanx的支持,它也是一个好主意 – 2010-11-15 06:30:06