Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将数组列表添加到我的应用程序的首选项中...
起初列表应该是空的,但随后用户可以添加项目,这些项目将保存到首选项中......
然后用户下次启动应用程序时,他会看到他之前创建的列表......
预先感谢。
SharedPreferences.Editor.putStringSet(字符串键,设置值)