From 8d190aa3a8464dd4d7606d48d36da21d7190f549 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 07 五月 2021 16:19:19 +0800 Subject: [PATCH] 广告调整 --- BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java b/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java index 5436446..c21a36e 100644 --- a/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java +++ b/BuWanVideo/src/com/weikou/beibeivideo/util/ConfigUtil.java @@ -108,6 +108,22 @@ } + /** + * 淇濆瓨璐拱璁板綍 + * + * @param context + * @param content + */ + public static void saveBuyRecordUrl(Context context, String content) { + saveConfig("buyRecordUrl", content, context); + } + + + public static String getBuyRecordUrl(Context context) { + return getConfig("buyRecordUrl", context); + } + + private static void saveConfig(String key, String value, Context context) { SharedPreferences.Editor editor = context.getSharedPreferences("config", Context.MODE_PRIVATE).edit(); editor.putString(key, value); -- Gitblit v1.8.0