What is the best practice to switch between View and Edit Mode in Android? As example, I provided a screenshot of the Google Calendar application.
Should theses screen combined in one view? Or should one use two different Activities?
There is no general good practice in this case. The choise depends on the overall number and type of differences between the two screens.
If there are major differences in layouts for example, use 2 Activities for better support later.
If only some view properties differ in the two modes, use 1 activity with some logic that handles the property values.
Make your decision based on the time you will need to support, scale and edit each view later on.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With