What is the difference between view and activity in android development?
android
Solution
You should create separate activities for you screens. Android handles the back button of the device by popping the current activity out from the stack and displaying the last one. So if for example the user wants to return to screen 2 for another selection, the back button does this.
Problem
When do I need to create a new activity and when do I need to change the view? My app needs to do: Screen #1 two big buttons(sort of menu) Screen #2 list of items - depend on the selection on prev screen Screen #3 another list - depend on the selection on prev screen Screen #4 show item All screens need to have the same menu menu (the last has another button) Do I need to create an activity for each screen or just change the view in the same activity? Maybe I need to create a parent class `myBase` that will extend activity and all my activities will extend him?