diff --git a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanFragment.java b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanResultFragment.java similarity index 79% rename from component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanFragment.java rename to component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanResultFragment.java index ddc25d7e..beffe3d0 100644 --- a/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanFragment.java +++ b/component/scanner/src/main/java/one/nem/lacerta/component/scanner/ScannerScanResultFragment.java @@ -10,10 +10,10 @@ import android.view.ViewGroup; /** * A simple {@link Fragment} subclass. - * Use the {@link ScannerScanFragment#newInstance} factory method to + * Use the {@link ScannerScanResultFragment#newInstance} factory method to * create an instance of this fragment. */ -public class ScannerScanFragment extends Fragment { +public class ScannerScanResultFragment 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 ScannerScanFragment extends Fragment { private String mParam1; private String mParam2; - public ScannerScanFragment() { + public ScannerScanResultFragment() { // Required empty public constructor } @@ -37,8 +37,8 @@ public class ScannerScanFragment extends Fragment { * @return A new instance of fragment ScannerScanResultFragment. */ // TODO: Rename and change types and number of parameters - public static ScannerScanFragment newInstance(String param1, String param2) { - ScannerScanFragment fragment = new ScannerScanFragment(); + public static ScannerScanResultFragment newInstance(String param1, String param2) { + ScannerScanResultFragment fragment = new ScannerScanResultFragment(); Bundle args = new Bundle(); args.putString(ARG_PARAM1, param1); args.putString(ARG_PARAM2, param2); @@ -59,6 +59,6 @@ public class ScannerScanFragment 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, container, false); + return inflater.inflate(R.layout.fragment_scanner_scan_result, container, false); } } \ No newline at end of file diff --git a/component/scanner/src/main/res/layout/fragment_scanner_scan.xml b/component/scanner/src/main/res/layout/fragment_scanner_scan_result.xml similarity index 100% rename from component/scanner/src/main/res/layout/fragment_scanner_scan.xml rename to component/scanner/src/main/res/layout/fragment_scanner_scan_result.xml