From 323f29f4a71b8a025db6cdb6cba4290da4000440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=8D=E3=82=80=E3=81=AD=E3=81=93?= Date: Sun, 10 Dec 2023 23:14:43 +0900 Subject: [PATCH] =?UTF-8?q?=E5=90=8D=E7=A7=B0=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...nResultFragment.java => ScannerScanFragment.java} | 12 ++++++------ ...ner_scan_result.xml => fragment_scanner_scan.xml} | 0 2 files changed, 6 insertions(+), 6 deletions(-) rename component/scanner/src/main/java/one/nem/lacerta/component/scanner/{ScannerScanResultFragment.java => ScannerScanFragment.java} (79%) rename component/scanner/src/main/res/layout/{fragment_scanner_scan_result.xml => fragment_scanner_scan.xml} (100%) diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanResultFragment.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanFragment.java similarity index 79% rename from component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanResultFragment.java rename to component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanFragment.java index beffe3d0..ddc25d7e 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanResultFragment.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanFragment.java @@ -10,10 +10,10 @@ import android.view.ViewGroup; /** * A simple {@link Fragment} subclass. - * Use the {@link ScannerScanResultFragment#newInstance} factory method to + * Use the {@link ScannerScanFragment#newInstance} factory method to * create an instance of this fragment. */ -public class ScannerScanResultFragment extends Fragment { +public class ScannerScanFragment extends Fragment { // TODO: Rename parameter arguments, choose names that match // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER @@ -24,7 +24,7 @@ public class ScannerScanResultFragment extends Fragment { private String mParam1; private String mParam2; - public ScannerScanResultFragment() { + public ScannerScanFragment() { // Required empty public constructor } @@ -37,8 +37,8 @@ public class ScannerScanResultFragment extends Fragment { * @return A new instance of fragment ScannerScanResultFragment. */ // TODO: Rename and change types and number of parameters - public static ScannerScanResultFragment newInstance(String param1, String param2) { - ScannerScanResultFragment fragment = new ScannerScanResultFragment(); + public static ScannerScanFragment newInstance(String param1, String param2) { + ScannerScanFragment fragment = new ScannerScanFragment(); Bundle args = new Bundle(); args.putString(ARG_PARAM1, param1); args.putString(ARG_PARAM2, param2); @@ -59,6 +59,6 @@ public class ScannerScanResultFragment extends Fragment { public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment - return inflater.inflate(R.layout.fragment_scanner_scan_result, container, false); + return inflater.inflate(R.layout.fragment_scanner_scan, container, false); } } \ No newline at end of file diff --git a/component/scanner/src/main/res/layout/fragment_scanner_scan_result.xml b/component/scanner/src/main/res/layout/fragment_scanner_scan.xml similarity index 100% rename from component/scanner/src/main/res/layout/fragment_scanner_scan_result.xml rename to component/scanner/src/main/res/layout/fragment_scanner_scan.xml