EBackLayout是基于SwipeBackLayout ,改动内容如下:
- 升级gradle为3.0
- 删除SwipeBackLayout 中app中除SwipeBackActivityHelper中的所有类
- 利用google的组件
Lifecycle
,修改SwipeBackActivityHelper,重命名为SwipeBackHelper
,实现解耦操作,以后使用时不在需要继承
目前只能用于Activity!!!!
目前只能用于Activity!!!!
目前只能用于Activity!!!!
implementation 'cn.xwj:backlayout:0.0.1'
SwipeBackHelper.create(this);