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.

enter image description here

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

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -