diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java index be83d1e1..806afc4f 100644 --- a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryArchiveFragment.java @@ -22,7 +22,7 @@ public class LibraryArchiveFragment extends AppCompatActivity { // 文字をタップしたときの処理 // 移動先のアクティビティを指定 - Intent intent = new Intent(LibraryArchiveFragment.this, LibraryXFragment.class); + Intent intent = new Intent(LibraryArchiveFragment.this, LibraryDocFragment.class); // または、移動先のフラグメントを指定 // Intent intent = new Intent(LibraryArchiveFragment.this, TargetFragment.class); @@ -33,7 +33,7 @@ public class LibraryArchiveFragment extends AppCompatActivity { // 文字をタップしたときの処理 // 移動先のアクティビティを指定 - Intent intent = new Intent(LibraryArchiveFragment.this, LibraryXFragment.class); + Intent intent = new Intent(LibraryArchiveFragment.this, LibraryDocFragment.class); // データを付加する intent.putExtra("key_name", "value_data"); diff --git a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryXFragment.java b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryDocFragment.java similarity index 88% rename from feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryXFragment.java rename to feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryDocFragment.java index ebdc0a3e..b489d496 100644 --- a/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryXFragment.java +++ b/feature/library/src/main/java/one/nem/lacerta/feature/library/LibraryDocFragment.java @@ -8,7 +8,7 @@ import android.widget.TextView; import androidx.fragment.app.Fragment; -public class LibraryXFragment extends Fragment { +public class LibraryDocFragment extends Fragment { private TextView textView; // フィールドとして TextView を定義 @@ -37,8 +37,8 @@ public class LibraryXFragment extends Fragment { } // Factory method for creating a new instance of the fragment - public static LibraryXFragment newInstance(String data) { - LibraryXFragment fragment = new LibraryXFragment(); + public static LibraryDocFragment newInstance(String data) { + LibraryDocFragment fragment = new LibraryDocFragment(); // フラグメントにデータを渡す Bundle args = new Bundle();