如果许多被使用的共享preferences不起作用? [英] SharedPreferences does not work if many is used?
问题描述
在我的应用我有一个奇怪的和恼人的错误。 虫让我的应用程序拒绝加载共享preferences。在我的应用程序的其他部分我使用一个或两个共享$有好运气,并没有bug p $ pferences。但是,当我尝试韩德尔约75人,他们似乎消失了。
In my app I have a strange and annoying "bug". The "bug" makes my app refuse to load sharedPreferences. In other parts of my app I use one or two SharedPreferences with good luck and no bugs. But when I try to handel about 75 of them they seem to be gone.
我不知道从哪里开始调试,找出原因。这是我的低规格的手机或某种超载导致这个问题?
I do not know where to start debugging to find out why. Is it my low spec phone or some kind of overload that causes this problem?
推荐答案
看看这里:的http://androidresearch.word$p$pss.com/2012/03/31/writing-and-reading-from-shared$p$pferences/
但我相信,在这种情况下,它会更适合于数据存储在数据库中。
Take a look here: http://androidresearch.wordpress.com/2012/03/31/writing-and-reading-from-sharedpreferences/ But I believe in this case it will be more appropriate to store the data in a database.
这篇关于如果许多被使用的共享preferences不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!