Android Recyclerview Scroll Not Working After Layout Edit
I am trying to implement a horizontal scrolling RecyclerView inside an another RecyclerView which means parent RecyclerView(vertical scroll) and child RecyclerView(Horizontal scrol
Solution 1:
RecyclerView sizes itself based on its child views if wrap_content and no explicit minimum height has been set. In your child RecyclerView you have to consider change as follows
<android.support.v7.widget.RecyclerView
android:id="@+id/product_recycle_list"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
you are using horizontal recyclerView so set the
this will works if you want to know more about this problem visit https://code.google.com/p/android/issues/detail?id=74772 it will help you.
Post a Comment for "Android Recyclerview Scroll Not Working After Layout Edit"