From 779a07ff263c0796ae30115eeb3ca7ddb6f6cd0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Thu, 14 Dec 2023 10:16:07 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A4=E3=83=B3=E3=82=BF=E3=83=95=E3=82=A7?= =?UTF-8?q?=E3=83=BC=E3=82=B9=E5=AE=9F=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/utils/repository/SharedPrefUtils.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/utils/src/main/java/one/nem/lacerta/utils/repository/SharedPrefUtils.java b/utils/src/main/java/one/nem/lacerta/utils/repository/SharedPrefUtils.java index b369b44a..68d21ae7 100644 --- a/utils/src/main/java/one/nem/lacerta/utils/repository/SharedPrefUtils.java +++ b/utils/src/main/java/one/nem/lacerta/utils/repository/SharedPrefUtils.java @@ -1,4 +1,13 @@ package one.nem.lacerta.utils.repository; +import android.content.SharedPreferences; + public interface SharedPrefUtils { + + // Shared preferences editorの取得 + SharedPreferences.Editor getEditor(); + + // TODO-rca: 名称をenumで管理する? + SharedPreferences.Editor getEditor(String name); + }