chthai64 / overscroll-bouncy-android

Overscroll bounce effect for Android.
MIT License
287 stars 46 forks source link

SwipeRefreshLayout doesn't work with this library #14

Open foxwoosh opened 6 years ago

foxwoosh commented 6 years ago
<android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/sr_layout"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_below="@+id/toolbar">

        <com.chauthai.overscroll.RecyclerViewBouncy
            android:id="@+id/rv_results"
            android:clipToPadding="false"
            android:scrollbars="vertical"
            android:scrollbarThumbVertical="@color/orange_juice_80"
            android:scrollbarSize="2dp"
            android:scrollbarStyle="outsideOverlay"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:paddingBottom="75dp"
            app:tension="1000"
            app:friction="200"
            app:gapLimit="50"/>
    </android.support.v4.widget.SwipeRefreshLayout>

Well, my SwipeRefreshLayout doesn't make any sense since I've implemented this library :) Any advices or is there's a bug? Thanks.

keremkusmezer commented 6 years ago

Same for me looks like it is overriding the same scroll effects so it is not compitable at all.