Override the animation of moving items in RecyclerView. If the first view from above is necessary to produce another animation How to determine which view is the first on the current screen? In the list itself, it can have any number.
1 answer
LayoutManager has the findFirstVisibleItemPosition() method, which returns the position in the list of the first item fully visible on the screen.
- How simple it was. Thanks - RodGers
|