basierend blättern Ich habe zwei recycleView
im selben Layout und gleiche SwipeRefresher
eine für normales Ergebnis und eine andere für vip es so gut funktioniert hat, aber die vip recycle über dem Ergebnis recycle kommen und das gibt mir ein verkabeltes Ergebnis.Wie recyclerview auf einem anderen
Der Bildschirm zeigt vip beim Scrollen im normalen Ergebnis.
Wie kann ich zwei Recycling mit einem Scroll-Verhalten machen?
Mein Layout wie folgt aussehen: -
<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>
Das folgende Bild meiner aktuellen Statue demonstrieren.
Es ist normal, dass die resultRecyclerView match_parent in Höhe? – Vodet
@Vodet yup was das Problem darin? –