我有一款游戏使用共享首选项来记录用户的高分并将其显示在统计页面上。
我的问题 -> 即使在用户退出应用程序后,这种共享偏好是否仍然存在?我如何确保始终保留此数据,共享首选项会这样做还是我需要使用其他东西?
最佳答案
Will this shared preference persist even after the user exits the application?
是的!
How do I ensure that this data is always retained, will shared preferences do this or do I need to use something else?
关于java - 共享偏好的持久性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13984050/