Question: This is android, Create an activity with a button. This button should add an incremental value to a textview in a seperate activity. For example:
This is android, Create an activity with a button. This button should add an incremental value to a textview in a seperate activity. For example:
Each time the button is clicked in activity A, the textview in activity B displays the next number incrementally.
For example:
Button clicked once = integer 1 in textview
Button clicked twice = integer 2 in textview.
and so on.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
