viewpager+ navigation Bar Implementation method comparison---------from the Internet

Source: Internet
Author: User
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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.