[英]caching large amount of data in android
I have some technical issue and not having much understandings about it. 我有一些技术问题,对此没有太多的了解。 Please guide me.
请指导我。 I actually have to cache large amount of data (including images and texts) in android after getting it from a central server.
从中央服务器获取数据后,实际上我必须在android中缓存大量数据(包括图像和文本)。 The data will be added and deleted in a sequence ie only that data will be cached/saved that user needs at a time.
数据将按顺序添加和删除,即仅一次将缓存/保存用户需要的数据。 The data, that will be cached consists of about 80 images plus related text at a time (in worst case).
一次将缓存的数据包括大约80张图像以及相关文本(在最坏的情况下)。 So I think I should use sqlite db here to cache it.
所以我认为我应该在这里使用sqlite db对其进行缓存。 Is it a better option here as for as performance and space is concerned??
就性能和空间而言,这是一个更好的选择吗? Or any other is there
或那里有其他
Regards 问候
No one else having idea about it, 没有人对此有想法,
我建议将它们直接保存到某个位置,使用任何您喜欢的视图(例如,自定义列表视图)显示所有图片,然后删除无用的图像。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.