From 62b1c79987bce0f5f89a587ab340e3172e42b045 Mon Sep 17 00:00:00 2001 From: RachanaReddy66 <116415047+RachanaReddy66@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:08:40 +0530 Subject: [PATCH 1/2] Update MainActivity.java --- .../java/com/jiashuwu/androidbarcodegenerator/MainActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java b/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java index 3cd694d..867c9c2 100644 --- a/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java +++ b/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java @@ -100,7 +100,7 @@ public void onNothingSelected(AdapterView parent) { button_generate.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - + System.out.println("onClick"); message = editText1.getText().toString(); if (message.equals("") || type.equals("")) From ab3f80c9b5b585cf62e18d67fd0e7cf9f44e3de4 Mon Sep 17 00:00:00 2001 From: RachanaReddy66 <116415047+RachanaReddy66@users.noreply.github.com> Date: Sat, 24 Feb 2024 10:10:16 +0530 Subject: [PATCH 2/2] Update MainActivity.java --- .../com/jiashuwu/androidbarcodegenerator/MainActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java b/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java index 867c9c2..8c230aa 100644 --- a/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java +++ b/app/src/main/java/com/jiashuwu/androidbarcodegenerator/MainActivity.java @@ -100,7 +100,9 @@ public void onNothingSelected(AdapterView parent) { button_generate.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - System.out.println("onClick"); + System.out.println("onClick1"); + System.out.println("onClick2"); + message = editText1.getText().toString(); if (message.equals("") || type.equals(""))