//滑动删除监听
swipeLayout.addSwipeListener(new SwipeLayout.SwipeListener() {
            @Override
            public void onClose(SwipeLayout layout) {
 
            }
 
            @Override
            public void onUpdate(SwipeLayout layout, int leftOffset, int topOffset) {
 
            }
 
            @Override
            public void onOpen(SwipeLayout layout) {
                YoYo.with(Techniques.Tada).duration(500).delay(100).playOn(layout.findViewById(R.id.trash));
            }
 
            @Override
            public void onHandRelease(SwipeLayout layout, float xvel, float yvel) {
 
            }
        });

SwipeLayout 类似ListView item滑动删除动画_动画

SwipeLayout 类似ListView item滑动删除动画_滑动删除_02

SwipeLayout 类似ListView item滑动删除动画_动画_03