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

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -