1. Are you ready for the Galaxy S20? Here is everything we know so far!

App Crash

Discussion in 'Android Development' started by lalitkumar110301, May 20, 2021.

  1. lalitkumar110301

    Thread Starter

    I am a very beginner in android development. So as a beginning project i was trying to make an coffee order layout with some buttons. After writing the logic when i am trying to run the app, it is crashing.
    I have shared the screenshot of my java file and design below



    increaseQuantity() is an onclick operation set on the button to increase the amount by one.
    decreaseQuantity() is set to decrease the quantity by one.
    submitOrder() is set on Order Now button that just shows a toast about final order summary.

    Please help me to fix this issue.

    Attached Files:

    1. Download the Forums for Android™ app!



Share This Page