Skip to content

Custom viewGroup with scroll which snaps the view to start(top) of each child.

Notifications You must be signed in to change notification settings

msoftware/SnapScrollView

 
 

Repository files navigation

SnapScrollView

Custom viewGroup with scroll which snaps the view to start(top) of each child.

The child or inner views can be directly added to the parent. To set the margins of the child, use "setChildMargins(int,int,int,int)" or separately add each margin by using "childTopMargin(int)","childLeftMargin(int)",childBottomMargin(int)",childRightMargin(int)".

To use inside the app just add the following to your root build.gradle

allprojects {
		repositories {
			...
			maven { url 'https://jitpack.io' }
		}
	}

Then add the following to your dependency and compile

dependencies {
          compile 'com.github.santhoshkumar2794:SnapScrollView:1.0.0'
  }

About

Custom viewGroup with scroll which snaps the view to start(top) of each child.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%