recyclerview-animators icon indicating copy to clipboard operation
recyclerview-animators copied to clipboard

Can't get this to work. Missing documentation?

Open LaurieScheepers opened this issue 8 years ago • 2 comments

Hi, by just following your readme nothing happens when I add one of your ItemAnimators. Is there maybe documentation missing?

Is it necessary to set a duration? Is it necessary to always call notifyItemInserted() or notifyItemRemoved()?

LaurieScheepers avatar Jul 23 '15 20:07 LaurieScheepers

In the same boat. Thought it wasn't working for me. Got what I needed by opening the sample, but yeah, documenting this a bit better would really help.

alexandre-g avatar Jul 25 '15 04:07 alexandre-g

Your adapter should always call notifyItemInserted (or others). That is independent of these animators. You would still need to do that even for DefaultItemAnimator.

christophereluc avatar Sep 10 '15 22:09 christophereluc