ロジック実装 WIP

This commit is contained in:
ろむねこ 2023-12-20 11:58:55 +09:00 committed by ろむねこ
parent ccbbb45f39
commit 031a1d2810

View File

@ -1,9 +1,15 @@
package one.nem.lacerta.component.scanner; package one.nem.lacerta.component.scanner;
import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Bundle; 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; import androidx.fragment.app.Fragment;
import android.provider.MediaStore;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
@ -15,6 +21,9 @@ import android.view.ViewGroup;
*/ */
public class ScannerDatabaManagerStubFragment extends Fragment { public class ScannerDatabaManagerStubFragment extends Fragment {
// Results
private Bitmap[] imageBitmaps;
public ScannerDatabaManagerStubFragment() { public ScannerDatabaManagerStubFragment() {
// Required empty public constructor // Required empty public constructor
} }
@ -37,4 +46,13 @@ public class ScannerDatabaManagerStubFragment extends Fragment {
// Inflate the layout for this fragment // Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_scanner_databa_manager_stub, container, false); return inflater.inflate(R.layout.fragment_scanner_databa_manager_stub, container, false);
} }
@Override
public void onViewCreated(View view, Bundle savedInstanceState) {
super.onViewCreated(view, savedInstanceState);
view.findViewById(R.id.button_call_camera).setOnClickListener(v -> {
});
}
} }