From cd92fcbc0461fa0cd447fdccfbd088afb6d1ec3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= <66072112+r-ca@users.noreply.github.com> Date: Thu, 21 Dec 2023 12:34:46 +0900 Subject: [PATCH] Revert "fix typo" This reverts commit 011cac925ab4e6251a5f8676e5385aaf3a4a7b2b. --- ...ent.java => ScannerDatabaManagerStubFragment.java} | 11 ++++++----- .../layout/fragment_scanner_databa_manager_stub.xml | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) rename component/scanner/src/main/java/one/nem/lacerta/component/scanner/{ScannerDataManagerStubFragment.java => ScannerDatabaManagerStubFragment.java} (84%) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java similarity index 84% rename from component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java rename to component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java index dcd41398..e533ddb8 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDataManagerStubFragment.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerDatabaManagerStubFragment.java @@ -6,6 +6,7 @@ import android.graphics.Bitmap; import android.os.Bundle; import androidx.activity.result.ActivityResultLauncher; +import androidx.activity.result.contract.ActivityResultContract; import androidx.activity.result.contract.ActivityResultContracts; import androidx.fragment.app.Fragment; @@ -18,10 +19,10 @@ import java.util.ArrayList; /** * A simple {@link Fragment} subclass. - * Use the {@link ScannerDataManagerStubFragment#newInstance} factory method to + * Use the {@link ScannerDatabaManagerStubFragment#newInstance} factory method to * create an instance of this fragment. */ -public class ScannerDataManagerStubFragment extends Fragment { +public class ScannerDatabaManagerStubFragment extends Fragment { // Results private ArrayList results = new ArrayList<>(); @@ -37,12 +38,12 @@ public class ScannerDataManagerStubFragment extends Fragment { } ); - public ScannerDataManagerStubFragment() { + public ScannerDatabaManagerStubFragment() { // Required empty public constructor } // TODO: Rename and change types and number of parameters - public static ScannerDataManagerStubFragment newInstance() { - ScannerDataManagerStubFragment fragment = new ScannerDataManagerStubFragment(); + public static ScannerDatabaManagerStubFragment newInstance() { + ScannerDatabaManagerStubFragment fragment = new ScannerDatabaManagerStubFragment(); Bundle args = new Bundle(); fragment.setArguments(args); return fragment; diff --git a/component/scanner/src/main/res/layout/fragment_scanner_databa_manager_stub.xml b/component/scanner/src/main/res/layout/fragment_scanner_databa_manager_stub.xml index a5ff31b2..8bf72d7c 100644 --- a/component/scanner/src/main/res/layout/fragment_scanner_databa_manager_stub.xml +++ b/component/scanner/src/main/res/layout/fragment_scanner_databa_manager_stub.xml @@ -5,7 +5,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:theme="@style/Theme.Lacerta" - tools:context=".ScannerDataManagerStubFragment" > + tools:context=".ScannerDatabaManagerStubFragment" >