I'm answering the question you raised in your comments (and apologies for the delay).
Your question was:
Okay, just to make things clear. I want to make an app, a mall
directory app. So, I need 5 tabs, each tab with 2 views, the main
view, and the detail view (either fragment or activity, some are list
view, some are pager view). For example, in tab 2, there will be mall
tenants (listview), when you click one of the item, it will pop up the
detail of the tenant. On the other tab, let's say we have a promotion
tabs, which come with same view as tab 2 (listview), if we click one
of the item, it will bring us to the detail view.
So, what I want from the app is, all the navigation will be done using
tabs, and the action bar/navigation tab will not move even if I click
the list item and bring us to the detail view. So, should I create 1
activity with all the fragments, or 3 activity (main menu, promotion,
tenants) with 2 fragment for each activity ( I have 2 pages menu that
will come with view pager)? I really appreciate it a lot for answering
my question. Really, so much thanks
This is the important requirement you have: the action bar/navigation tab will not move even if I click the list item and bring us to the detail view.
You can't achieve this with having more than 1 activity. Remember, you can only have 1 activity active
(no pun intended) at any given time. This means, your activities will host their own version of the action bar/navigation tab. This in turn means, if you have more than one activity, when you transition between them, your action bar will inevitably change. You can try to get around it by having the same exact action bar on all your activities but that's not changing this argument.
Your app seems simple enough to do with 1 activity and 2 fragments -- 1 for each screen/tab which hosts the list view (and your detail view is probably a dialog since you want it to 'pop up').
It's only when you start adding more and more functionalities that the value of adding multiple activities become apparent. I very recently (a few hours ago) answered another question about fragments and activities. I think it maybe helpful to you to read: Why not always use fragments with one activity
If you have any questions, please let me know but do add an @kha so
that I get a notification and can answer you quicker.