We're making an app for counting drinks in android studio, thats the main function. We also have an activity to add drinks/prices from stores, and on the main activity, if we have counted to a number and switch back and forth between the activities, the number goes away.
Basically, the question is, is there any way to make the main activity to stay active while switching back and forth?