开发者

webservices performances

开发者 https://www.devze.com 2023-01-27 10:48 出处:网络
In my application first I am displaying home activity. In home activity I am getting the value from webservice and parsing the value and displaying to the user. From the home activity user click it wi

In my application first I am displaying home activity. In home activity I am getting the value from webservice and parsing the value and displaying to the user. From the home activity user click it will display to article display activity. From article display activity开发者_如何转开发 if user clicks it will come back to the home activity. It again and again calls web services and parses the value, it takes time.

How do I store the webservice parsed value in firsttime and get the value for all activties? Instead of calling the webservice again and again, can anybody give an example?

Thanks


Take a look at Shared Preferences or Internal Storage.

0

精彩评论

暂无评论...
验证码 换一张
取 消