SwipeBack:SwipeBackLayout侧滑关闭页面

时间:2024-05-18 14:04:33
【文件属性】:

文件名称:SwipeBack:SwipeBackLayout侧滑关闭页面

文件大小:1.11MB

文件格式:ZIP

更新时间:2024-05-18 14:04:33

android swipeback swipebacklayout Java

SwipeBack SwipeBackLayout侧滑关闭页面 效果预览 使用方式 build.gradle文件 implementation 'com.cxz:swipeback:1.0.1' Activity继承SwipeBackActivity public class MainActivity extends SwipeBackActivity{    private SwipeBackLayout mSwipeBackLayout;    @Override protected void onCreate(Bundle savedInstanceState) { ... mSwipeBackLayout = getSwipeBackLayout();//获取SwipeBackLayout    } } 设置滑动关闭的方向 mSwipeBackLayout.set


【文件预览】:
SwipeBack-master
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle.properties(855B)
----gif()
--------1.gif(1.03MB)
----app()
--------proguard-rules.pro(664B)
--------src()
--------.gitignore(7B)
--------build.gradle(742B)
----gradle()
--------wrapper()
----swipebacklibrary()
--------proguard-rules.pro(664B)
--------src()
--------.gitignore(7B)
--------build.gradle(1KB)
----.gitignore(66B)
----README.md(1020B)
----settings.gradle(36B)
----build.gradle(585B)

网友评论