This commit is contained in:
ろむねこ 2023-12-20 12:03:54 +09:00 committed by ろむねこ
parent 4d0412e5bd
commit 011cac925a
2 changed files with 6 additions and 7 deletions

View File

@ -6,7 +6,6 @@ import android.graphics.Bitmap;
import android.os.Bundle; import android.os.Bundle;
import androidx.activity.result.ActivityResultLauncher; import androidx.activity.result.ActivityResultLauncher;
import androidx.activity.result.contract.ActivityResultContract;
import androidx.activity.result.contract.ActivityResultContracts; import androidx.activity.result.contract.ActivityResultContracts;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
@ -19,10 +18,10 @@ import java.util.ArrayList;
/** /**
* A simple {@link Fragment} subclass. * A simple {@link Fragment} subclass.
* Use the {@link ScannerDatabaManagerStubFragment#newInstance} factory method to * Use the {@link ScannerDataManagerStubFragment#newInstance} factory method to
* create an instance of this fragment. * create an instance of this fragment.
*/ */
public class ScannerDatabaManagerStubFragment extends Fragment { public class ScannerDataManagerStubFragment extends Fragment {
// Results // Results
private ArrayList<Bitmap> results = new ArrayList<>(); private ArrayList<Bitmap> results = new ArrayList<>();
@ -38,12 +37,12 @@ public class ScannerDatabaManagerStubFragment extends Fragment {
} }
); );
public ScannerDatabaManagerStubFragment() { public ScannerDataManagerStubFragment() {
// Required empty public constructor // Required empty public constructor
} }
// TODO: Rename and change types and number of parameters // TODO: Rename and change types and number of parameters
public static ScannerDatabaManagerStubFragment newInstance() { public static ScannerDataManagerStubFragment newInstance() {
ScannerDatabaManagerStubFragment fragment = new ScannerDatabaManagerStubFragment(); ScannerDataManagerStubFragment fragment = new ScannerDataManagerStubFragment();
Bundle args = new Bundle(); Bundle args = new Bundle();
fragment.setArguments(args); fragment.setArguments(args);
return fragment; return fragment;

View File

@ -5,7 +5,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:theme="@style/Theme.Lacerta" android:theme="@style/Theme.Lacerta"
tools:context=".ScannerDatabaManagerStubFragment" > tools:context=".ScannerDataManagerStubFragment" >
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"