Open recoverrelax opened 8 years ago
I'm having the exact same issue..
I just removed the background draw methods from onDraw() in setUpAnimationDecoratorHelper()
You can try moving and enclosing the draw calls in a conditional statement like so:
if (isCurrentlyActive && actionState == ItemTouchHelper.ACTION_STATE_SWIPE) {
background.draw(c);
clearDrawable.draw(c);
}
Let me know how that works out for you.
Just tried this but the background seems to blink when being used. Not exactly sure whats causing it.
The itemanimator that draw the BG will also work for added itens. For some reason. Any workaround?