add:新增悬浮窗开关设置
This commit is contained in:
@@ -70,6 +70,13 @@ public class SpUtil {
|
||||
return mSharedPreferences.getString(key, "");
|
||||
}
|
||||
|
||||
/**
|
||||
* 判断一个值是否存在
|
||||
*/
|
||||
public boolean isExists(String key){
|
||||
return mSharedPreferences.contains(key);
|
||||
}
|
||||
|
||||
/**
|
||||
* 保存多个字符串
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user