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

Remove Animation doesn't work...

Open Informatheus opened this issue 9 years ago • 2 comments

Add and update working well, but remove animation not...

    mRecyclerView = (RecyclerView) v.findViewById(R.id.recyclerview);

    OvershootInRightAnimator animator = new OvershootInRightAnimator();

    animator.setAddDuration(1000);
    animator.setRemoveDuration(1000);
    animator.setMoveDuration(1000);
    animator.setChangeDuration(1000);

    mRecyclerView.setItemAnimator(animator);

...

    public void deleteItem(ItemMes item) {

    getMainActivity().deleteItemFromDatabase(item.getID());

    int position = mMes.getListaItens().indexOf(item);

    mMes.getListaItens().remove(position);

    mRecyclerAdapter.notifyItemRemoved(position);

}

Informatheus avatar Apr 30 '16 00:04 Informatheus

i have the same problem

PanduPatpat avatar May 17 '16 10:05 PanduPatpat

same

adroitandroid avatar Jun 03 '16 09:06 adroitandroid