i'm new with android.
I'm working on an application using xml layouts. I wish to know which is better: 1. Use few activities and change its contentview 2. Use an activity for each 'view' n开发者_Python百科eeded
If both works, in which case which option would be better?
thx a lot
The general rule would be to use multiple activities. That's the way it's meant to be and you won't be breaking navigation (e.g. going to the previous "screen" by pressing back button).
精彩评论