android - RecyclerView with wrap_content is not animating well -
when have recyclerview height wrap_content
, below
<android.support.v7.widget.recyclerview android:id="@+id/myrecyclerview" android:layout_width="match_parent" android:layout_height="wrap_content"/>
the result below.
the because resize happens before animation.
it described more in https://medium.com/@elye.project/recyclerview-supported-wrap-content-not-quite-f04a942ce624#.n7xivnrdr
is there way force animate first resize?
it makes no sense use wrap_content
height of recyclerview
. scrolling won't work way. set height match_parent
or add other rules, avoid wrap_content
Comments
Post a Comment