名称変更

This commit is contained in:
ろむねこ 2023-12-10 23:14:43 +09:00
parent 825d285361
commit 323f29f4a7
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168
2 changed files with 6 additions and 6 deletions

View File

@ -10,10 +10,10 @@ import android.view.ViewGroup;
/** /**
* A simple {@link Fragment} subclass. * 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. * create an instance of this fragment.
*/ */
public class ScannerScanResultFragment extends Fragment { public class ScannerScanFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match // TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
@ -24,7 +24,7 @@ public class ScannerScanResultFragment extends Fragment {
private String mParam1; private String mParam1;
private String mParam2; private String mParam2;
public ScannerScanResultFragment() { public ScannerScanFragment() {
// Required empty public constructor // Required empty public constructor
} }
@ -37,8 +37,8 @@ public class ScannerScanResultFragment extends Fragment {
* @return A new instance of fragment ScannerScanResultFragment. * @return A new instance of fragment ScannerScanResultFragment.
*/ */
// TODO: Rename and change types and number of parameters // TODO: Rename and change types and number of parameters
public static ScannerScanResultFragment newInstance(String param1, String param2) { public static ScannerScanFragment newInstance(String param1, String param2) {
ScannerScanResultFragment fragment = new ScannerScanResultFragment(); ScannerScanFragment fragment = new ScannerScanFragment();
Bundle args = new Bundle(); Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1); args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2); args.putString(ARG_PARAM2, param2);
@ -59,6 +59,6 @@ public class ScannerScanResultFragment extends Fragment {
public View onCreateView(LayoutInflater inflater, ViewGroup container, public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) { Bundle savedInstanceState) {
// Inflate the layout for this fragment // 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);
} }
} }