http://stackoverflow.com/questions/10849552/update-viewpager-dynamically
if you want to switch out the actual fragments that are being displayed, you need to avoid FragmentPagerAdapter and use FragmentStatePagerAdapter.
本文轉自wanqi部落格園部落格,原文連結:http://www.cnblogs.com/wanqieddy/p/4863760.html,如需轉載請自行聯系原作者