Overscrollable ScrollView

Additional

Language
Kotlin
Version
N/A
Created
Jun 12, 2019
Updated
Jun 12, 2019
Owner
Aksenov Vladimir (vovaksenov99)
Contributor
Aksenov Vladimir (vovaksenov99)
1
Activity
Badge
Generate
Download
Source code
APK file

Commercial

OverscrolllableNestedScrollView

Small custom view with smooth overscroll. You can add scale background

Work example

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)