Skip to content

Animation executes on older data set #3

@abhinav272

Description

@abhinav272

https://github.com/patrick-iv/Enter-animation-demo/blob/7b35deb075d03c9907502ff29e27e3c72beb6368/app/src/main/java/com/patrickiv/demo/enteranimationdemo/fragment/BaseFragment.java#L95

RecyclerView gets data from API call and when data gets populated it gets Animation as expected, but when the user scrolls to end and pagination logic calls for next page data I call runLayoutAnimation() when next page data is available but Animation gets executed on older data set which is already in recyclerview.

I want the Animation to execute only on the new data set.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions