我有两个recycleView
在相同的布局中,SwipeRefresher
一个用于正常结果,另一个用于VIP,它也可以正常工作,但是VIP回收高于结果回收,这给了我一个有线结果。
滚动正常结果时,屏幕显示 VIP。
如何通过一次滚动行为进行两次回收?
我的布局如下所示:-
<android.support.v4.widget.SwipeRefreshLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/swipeRefreshLayout"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<android.support.v7.widget.RecyclerView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/vipRecycleView"/>
<android.support.v7.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/resultRecycleView"
>
</android.support.v7.widget.RecyclerView>
</LinearLayout>
</android.support.v4.widget.SwipeRefreshLayout>
下图展示了我目前的雕像。