• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps difference in muti-Activity and muti-Page(Layout)?

Hi. I am a beginner in Android development. My question is that what's to choose when I want to switch to the other scene? muti-activity or muti-page(Layout)? so what's the difference in these two solutions?
 
What do you mean by "page"?

It really depends on what you're trying to do if it makes more sense to use a single activity and change the contentview, or to use multiple activities.

Most of the time I would suggest multiple activities.

You may wanna start here:
Application Fundamentals | Android Developers

Here's the part specifically about activities:
Application Fundamentals | Android Developers

thanks a lot. Sorry for my poor expression. "muti pages" means that switching to the other scene by calling the function setContentView(otherLayout)
 
Back
Top Bottom