Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BouncyNestedScrollView is not wokring! #22

Open
dckrOff opened this issue Oct 12, 2023 · 0 comments
Open

BouncyNestedScrollView is not wokring! #22

dckrOff opened this issue Oct 12, 2023 · 0 comments

Comments

@dckrOff
Copy link

dckrOff commented Oct 12, 2023

I did exactly as the instructions said but bouncy effect didn't work

  • Video
video_2023-10-13_02-08-24.mp4

fragment_home.xml

image

 <com.factor.bouncy.BouncyNestedScrollView
        android:id="@+id/bouncy_nsv"
        android:layout_width="match_parent"
        android:layout_height="0dp"
        android:orientation="vertical"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@+id/textView">

        <androidx.constraintlayout.widget.ConstraintLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical">

           ...
           ...

        </androidx.constraintlayout.widget.ConstraintLayout>
    </com.factor.bouncy.BouncyNestedScrollView>

HomeFragment.java

bouncyNestedScrollView.setBindSpringToParent(true); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant