• Stars
    star
    144
  • Rank 255,590 (Top 6 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created about 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ScrollDownLayout

ScrollDownLayout

Summary 概要

A custom Android Widget,support u use ViewPager in a ScrollView or ListView。
帮助你能够在ScrollView或者ListView里面使用ViewPager,支持手势下滑退出页面

Gif & Usage scenario Gif动画和使用场景

1 2

Video 视频

Youtube

Demo 例子

Download 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);
    }