ksoichiro / Android-ObservableScrollView

Android library to observe scroll events on scrollable views.
http://ksoichiro.github.io/Android-ObservableScrollView/
Apache License 2.0
9.66k stars 2.06k forks source link

ObservableListView with SwipeRefreshLayout #65

Open ixsans opened 9 years ago

ixsans commented 9 years ago

Hello, Can you help me? I have a problem when trying to use ObservableListView with SwipeRefreshLayout inside a viewpager. The problem is SwipeRefreshLayout is not work when I try to swipe it down.

This is my code

selection_094

Thanks

Kevinrob commented 9 years ago

Hi,
why did you add a LinearLayout in the SwipeRefreshLayout?

Without it, it work great for me! Like:

    <android.support.v4.widget.SwipeRefreshLayout
        android:id="@+id/for_you_swipe_refresh"
        android:layout_width="match_parent"
        android:layout_height="match_parent">
        <com.github.ksoichiro.android.observablescrollview.ObservableListView
            android:id="@+id/for_you_list_pois"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:divider="@null"
            android:background="#fff">
        </com.github.ksoichiro.android.observablescrollview.ObservableListView>
    </android.support.v4.widget.SwipeRefreshLayout>
MossoIsai commented 9 years ago

Hola que tal ! estoy usando su libreria ksoichiro y me ha ido excelente solo tengo un problema al momento de utilizar este método "clearAnimation();", cuando lo hacia con una ListView normal funcionaba excelente pero en este momento no funciona si me pudiera ayudar con este problema se lo agradeciere bastante