When I have RecyclerView height as wrap_content as below
wrap_content
<android.support.v7.widget.RecyclerView android:id="@+id/myRecyclerView" android:layout_width="match_parent" android:layout_height="wrap_content"/>
The result is as shown below.
This is because resizing occurs before the animation.
This is described in more detail at https://medium.com/@elye.project/recyclerview-supported-wrap-content-not-quite-f04a942ce624#.n7xivnrdr
Is there a way to make it animate first, but only resize it?
It makes no sense to use wrap_content as the height of the RecyclerView . Scrolling will not work this way. Set the height to match_parent or add other rules, but avoid wrap_content
RecyclerView
match_parent
Source: https://habr.com/ru/post/1259544/More articles:Why does the label value change? - c #Can I change the global offset / GOT table or the procedure table or PLT programmatically? - cUISegmentedController freezes after clicking the same segment twice - iosHow to find potential unchecked exceptions in Java? - javaRemove black background and make transparent from grabcut output in python open cv - python-3.xHow to make the white part of an image transparent using android opencv - androidAngular2 with trjs Orbitcontrols - angularMongoDB in Docker - backup database when closing container - dockerHow to set up a basic openMP project in CLion - c ++How to use ace project with ionic 2 - javascriptAll Articles