问题
I'm writing an app in which each tab must display a different ListFragment view. I've finished working on the ListFragment and it works without any issues. Now, I would like to display them using tabs so that any ListFragment can be accessed by selecting it's respective tab. What's the best way to do this?
回答1:
A good way is to use ActionBarSherlock + ViewPager :
http://www.androidbegin.com/tutorial/android-actionbarsherlock-viewpager-tabs-tutorial/
来源:https://stackoverflow.com/questions/17853077/best-way-to-show-fragments-in-tabs