No divider drawn using ItemAnimator
JulienDev opened this issue · 4 comments
JulienDev commented
Hi,
I'm using an ItemAnimator with an Horizontal LinearLayoutManager. When I call notifyItemRemoved or notifyItemInserted the drawers are not drawn until I scroll to new items. It seems related to this issue https://code.google.com/p/android/issues/detail?id=100653
Could it be possible to fix it?
Thanks !
yqritc commented
@JulienDev
I believe this should not be happened.
I'll check this behaviour as soon as possible, thanks
yqritc commented
@JulienDev
I checked, but could not see the problem.
Can u show ur sample project having this issue?
jvbreen1 commented
@JulienDev I had a similar issue, and I fixed it by calling invalidateItemDecorations()
on my RecyclerView
when adding items. Hope this helps.