add:新增悬浮窗开关设置

This commit is contained in:
2022-09-05 17:46:43 +08:00
parent 5bcbe7cd9a
commit 02af777192
6 changed files with 94 additions and 2 deletions

View File

@@ -70,6 +70,13 @@ public class SpUtil {
return mSharedPreferences.getString(key, "");
}
/**
* 判断一个值是否存在
*/
public boolean isExists(String key){
return mSharedPreferences.contains(key);
}
/**
* 保存多个字符串
*/