Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vovaksenov99/OverscrollableScrollView
Small custom view with smooth overscroll. You can add header with scale background
https://github.com/vovaksenov99/OverscrollableScrollView
android custom-view library overscroll scrollview
Last synced: 3 months ago
JSON representation
Small custom view with smooth overscroll. You can add header with scale background
- Host: GitHub
- URL: https://github.com/vovaksenov99/OverscrollableScrollView
- Owner: vovaksenov99
- Created: 2019-06-11T22:10:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T16:11:56.000Z (about 5 years ago)
- Last Synced: 2024-08-04T03:15:06.331Z (3 months ago)
- Topics: android, custom-view, library, overscroll, scrollview
- Language: Kotlin
- Homepage:
- Size: 37.2 MB
- Stars: 29
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-android - SmoothOverscrollableScrollView - Small custom view with smooth overscroll. You can add header with scale background (Libraries / GUI)
- awesome-list - vovaksenov99/OverscrollableScrollView - Small custom view with smooth overscroll. You can add header with scale background (Kotlin)
README
[![](https://jitpack.io/v/vovaksenov99/OverscrollableScrollView.svg)](https://jitpack.io/#vovaksenov99/OverscrollableScrollView)
[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-Overscrollable%20ScrollView-green.svg?style=flat )]( https://android-arsenal.com/details/1/7776 )# OverscrolllableNestedScrollView
Small custom view with smooth overscroll. You can add scale background``` java
dependencies {
implementation 'com.github.vovaksenov99:OverscrollableScrollView:1.0'
}allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```# Work example
![](https://github.com/vovaksenov99/OverscrollableScrollView/blob/master/c.gif)
![](https://github.com/vovaksenov99/OverscrollableScrollView/blob/master/b.gif)
![](https://github.com/vovaksenov99/OverscrollableScrollView/blob/master/a.gif)# View params.
| Parameter | Description | units |
| ------------- | ------------- | ------------- |
| maxOverscrollDistance | max overscroll distance | dp |
| scaleCoefficient | depends from current overscroll. Smaller the value -> increase scale. | - |
| pullUpAnimationTime | pull up animation duration | ms |
| pullUpInterpolator | provides smooth pull up animation | Interpolator |*scaleView* - view which will be scaled when overscroll start (can be null)
*headerView* - view which can be above OverscrolllableNestedScrollView, like at the example (can be null)