ScrollDownLayout
Summary 概要
A custom Android Widget,support u use ViewPager in a ScrollView or ListView。
帮助你能够在ScrollView或者ListView里面使用ViewPager,支持手势下滑退出页面
Gif & Usage scenario Gif动画和使用场景
Video 视频
Demo 例子
Usage 使用方法
Step 1
Gradle
dependencies {
compile 'com.ted.coder.sdlayout:library:1.0.2'
}
Step 2
Java Code
{
mScrollDownLayout.setMinOffset(0);
mScrollDownLayout.setMaxOffset(800);
mScrollDownLayout.setExitOffset(1674);
mScrollDownLayout.setToOpen();
mScrollDownLayout.setIsSupportExit(true);
mScrollDownLayout.setAllowHorizontalScroll(true);
mScrollDownLayout.setOnScrollChangedListener(mOnScrollChangedListener);
}