Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 452 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 452 Bytes

img

SwipeBackFragment 实现拖拽返回的fragment,一个类似于SwipeBackActivity的开源项目。

支持四个方向拖拽,通过setSwipeModel(SwipeBackLayout.SWIPE_RIGHT)...

用法: 1,继承BaseSwipeFragment   2,onCreateView里attachSwipe(rootView)具体看demo   3,AddSwipeFragmentUtil.addFragmentFromRight(MainActivity.this,new FragmentSlide());