0
這是我的佈局xml。如何滾動拉動以在正常滾動視圖中刷新滾動視圖
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/garae_scroll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/background"
android:fillViewport="true"
android:focusableInTouchMode="false" >
<RelativeLayout>
...
<com.handmark.pulltorefresh.library.PullToRefreshScrollView>
<LinearLayout/>
</com.handmark.pulltorefresh.library.PullToRefreshScrollView>
</RelativeLayout>
</ScrollView>
我已經嘗試過在這個環節的解決方案: ScrollView Inside ScrollView
然而,它沒有工作。如何使用子PullToRefreshScrollView? 請幫幫我。
感謝雨果我檢查了這麼多的例子,但沒有提到,我們需要實現查詢偵聽器。 – dharmesh