摘要: 使用FragmentTabHost时,Fragment之间切换时每次都会调用onCreateView方法,导致每次Fragment的布局都重绘,无法保持Fragment原有状态。解决办法:在FragmentonCreateView方法中缓存View private View rootView;... 阅读全文
posted @ 2014-04-15 14:48 似水流云 阅读(466) 评论(0) 推荐(0)