FIreBaseへの登録とFireBaseによって生成されたIDを用いたQRコードの生成、登録済みの場合は重複の登録は行わないようにする処理を追加しました
This commit is contained in:
1 parent
f7566d9df0
commit
98578291ea
5 files changed
+65
-45
No files matched your search
@@ -97,13 +97,10 @@ public class QRFragment extends Fragment {
|
||||
// Inflate the layout for this fragment
|
||||
View view = inflater.inflate(R.layout.fragment_qr, container, false);
|
||||
|
||||
Button cameraButton = view.findViewById(R.id.camera);
|
||||
|
||||
cameraButton.setOnClickListener(v -> {
|
||||
Log.d("QRFragment", "onClick: called");
|
||||
//QRリーダ起動
|
||||
fragmentLauncher.launch(new ScanOptions());
|
||||
});
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user