'Is there a way of displaying 2 input for QR code in android

So I’m creating an android app for queuing and it uses a QR code for reference and when scanned should display date and time of the chosen schedule but my code only displays one value when scanned

This is my code

String name; setContentView(R.layout.deposit_gen);

            dl_dep = findViewById(R.id.deposit_download);
            qr_dep = findViewById(R.id.qr_deposit);


            try {
                bitmap = textToImageEncode(select_date.getText().toString().trim());
                qr_dep.setImageBitmap(bitmap);
                dl_dep.setVisibility(View.VISIBLE);
                dl_dep.setOnClickListener(new View.OnClickListener() {
                    @Override
                    public void onClick(View v) {
                        MediaStore.Images.Media.insertImage(getContentResolver(), bitmap, "code_scanner",
                                null);
                        Toast.makeText(Deposit.this, "Saved to Gallery", Toast.LENGTH_LONG).show();
                    }
                });

select_date is the variable for chosen dates and time is time



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source