使用带有共享首选项的字符串数据
我有一个登录页面,我想保存具有共享首选项的用户名数据,并在我的应用中使用它。我该怎么做?我不知道如何使用共享首选项。
I have a login page and I want to save my username data with shared preferences and use it in my app. How can I do that? I couldn't figure out how to use the shared preferences.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎您还没有诚实地尝试。来自文档它是在顶部写的:
It seems like you haven't given in an honest try yet. From the documentation it is written at the top: