I am creating a grocery list app that displays the checkbox value(grocery item) on the EditText when the Enter button is clicked

Viewed 17

my current code displays the checkbox value when the checkbox is checked, but I need it to display the checkbox value when the button is clicked, after the checkbox is checked. I am making this on Android Studio. I currently have an if else statement that displays or removes the checkbox value when the checkbox is checked or unchecked. these values go directly to the editText but I need them to not be visible, until the Enter button is clicked. I am using java not Kotlin. Thanks in advance

0 Answers
Related