N
N
Nubbin2017-09-08 14:44:11
Android
Nubbin, 2017-09-08 14:44:11

Android itemAnimation scroll?

Good afternoon, why doesn't animation work for recyclerView when scrolling.

RecyclerView.ItemAnimator itemAnimator = new FadeInDownAnimator();
        itemAnimator.setAddDuration(200);
        itemAnimator.setRemoveDuration(500);
        recyclerView.setItemAnimator(itemAnimator);

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2017-09-08
@zagayevskiy

And why should it work when paging? It works when adding/removing/changing elements, and then, despite the fact that you have properly notified the adapter about this action.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question