【原创】fragment隐藏显示方式来控制切换tab支持横竖屏记忆回收,切换过快又使用动画导致重叠问题解决
staticlonglastClickTime=0;publicstaticFragmentswitchPagesByHide(Map>>map,FragmentManagerfragmentManager,intfragment_container_id,intkey){Fragmentfragment;ArrayListneedHideFragments=newArrayList>pair=m