【发布时间】:2019-02-01 12:33:50
【问题描述】:
你好,我有一个包含两个像这样的回收器视图的 android 应用程序
<LinearLayout
android:layout_width="match_parent"
android:orientation="vertical"
android:layout_height="wrap_content">
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerViewMainFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<android.support.v7.widget.RecyclerView
android:id="@+id/recyclerResults"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</LinearLayout>
如何让这个回收器一起滚动?
【问题讨论】:
-
你能解释一下吗
-
我有两个水平的recyclerview,我需要让这个recycler一起水平滚动
-
查看link
-
这能回答你的问题吗? Sync scrolling of multiple RecyclerViews
标签: android android-recyclerview