1. The first, using Tabhost + Viewpager Implementation of this method will have a bug, when set Tabhost.setcurrenttab () is 0 o'clock, Viewpager does not display (accurate is loaded), It will only load if you click any of the other tabs. 2. Second, using the official provided method ActionBar + Viewpager to implement the method has two flaws, or not a flaw, but I did not find a solution. First, the tab point is not very sensitive, may be so set, in order to prevent frequent loading it, but the experience slightly uncomfortable; second, Actionbar at the top, if my layout is: The top of a title bar with a return button, the middle is tab, the bottom is tabcontent, how to do? 3. "Recommended" third, the use of Tabwidget + Viewpager Implementation of the method is good, recommended to use.
viewpager+ navigation Bar Implementation method comparison---------from the Internet