@OverrideView view){
StringBuffer buffer = new StringBuffer();
buffer.append(textQr = text.getText().toString().trim());
buffer.append(text2Qr = text2.getText().toString().trim());
buffer.append(text3Qr = text3.getText().toString().trim());
String pass = buffer.toString();
MultiFormatWriter multiFormatWriter = new MultiFormatWriter();
try{
BitMatrix bitMatrix = multiFormatWriter.encode(pass, BarcodeFormat.QR_CODE, 300,300);
BarcodeEncoder barcodeEncoder = new BarcodeEncoder();
Bitmap bitmap = barcodeEncoder.createBitmap(bitMatrix);
image.setImageBitmap(bitmap);
Having collected all the strings using a StringBuffer class, I am working on creating an email generator. The "text," "text2," and "text3" fields represent the recipients, subject, and body of the email respectively. However, when I generate and send the email, the texts do not correspond to their intended content. How can I ensure that each text field is associated with the correct content in the email?