go top

sharedpreferences

网络释义

  轻量级的存储

... 什么是传感器(Sensor) 轻量级的存储SharedPreferences 隐式发动Activity和Intent过滤器IntentFilter ...

基于402个网页-相关网页

  使用

... 属性动画的API 使用SharedPreferences 读、写其他应用SharedPreferences ...

基于108个网页-相关网页

  偏好设定

...手算了~~    SharedPreferences settings = getSharedPreferences(PREF, 0);      我们宣告了一个偏好设定SharedPreferences)型别"settings",并使用"getSharedPreferences"函式,来寻找系统中有无符合以"BMI_PREF"字串(PREF 参数)作为档名的偏好设定档。

基于56个网页-相关网页

短语

SharedPreferences s 轻量级的存储

SharedPreferences sp 声明

双语例句

  • One way is to use SharedPreferences directly and use your own screen design and management of the preferences.

    其中一种方式直接使用SharedPreferences使用自己的屏幕设计首选项管理

    youdao

  • Listing 8 shows how to use SharedPreferences to load the stored preferences and how to make changes to the stored preferences using an Editor.

    清单8展示了如何使用SharedPreferences加载存储首选项,以及如何使用Editor更改已存储的首选项。

    youdao

  • Recall that PreferenceActivity USES SharedPreferences to automatically store the preferences as the user interacts with the preferences screen.

    回想一下PreferenceActivity使用SharedPreferences用户首选项屏幕交互自动存储首选项。

    youdao

更多双语例句

百科

sharedpreferences

SharedPreferences是Android平台上一个轻量级的存储类,用来保存应用的一些常用配置,比如Activity状态,Activity暂停时,将此activity的状态保存到SharedPereferences中;当Activity重载,系统回调方法onSaveInstanceState时,再从SharedPreferences中将值取出。 SharedPreferences提供了java常规的Long、Int、String等类型数据的保存接口。 SharedPreferences类似过去Windows系统上的ini配置文件,但是它分为多种权限,可以全局共享访问。

详细内容

以上来源于: 百度百科
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定