diff --git a/README.md b/README.md index 204dc86..8a93dd1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Currently includes BouncyRecyclerView and BouncyNestedScrollView. ``` dependencies { implementation 'androidx.recyclerview:recyclerview:1.2.1' - implementation 'com.github.valkriaine:Bouncy:2.1' + implementation 'com.github.valkriaine:Bouncy:2.2' } ``` @@ -69,6 +69,15 @@ Use as normal NestedScrollView. Place it in your layout: Strongly suggest to keep both values lower than 5. +### It is now possible to bind bouncy animation to parent instead of BouncyNestedScrollView + +```java +bouncy_scroll_view.setBindSpringToParent(true); + +// this will bind the spring animations to parent instead of self + +``` + # BouncyRecyclerView BouncyRecyclerView adds overscroll effect to RecyclerView and supports drag & drop and swiping gestures