摘要: 以下内容为原创,转载请注明:http://www.cnblogs.com/tiantianbyconan/p/3364728.html我前两天写过一篇博客《Android使用Fragment来实现TabHost的功能(解决切换Fragment状态不保存)以及各个Fragment之间的通信》(http://www.cnblogs.com/tiantianbyconan/p/3360938.html),实现了Tab切换时保留当前Fragment状态,并在切换前自动回调onPause()方法,在切换后自动调用onResume(),这样就做到了跟TahHost一样的功能。今天来实现下ViewPager 阅读全文
posted @ 2013-10-12 09:57 天天_byconan 阅读(74382) 评论(7) 推荐(2)