Scratch does not complete if fadeOnClear is set to false
Closed this issue · 0 comments
geggiamarti1 commented
When you try to scratch off without fade on clear, when you complete it, scratch does not clear.
ScratchoffController controller = new ScratchoffController(this)
.setThresholdPercent(0.60d)
.setTouchRadiusDip(this, 20)
.setClearOnThresholdReached(true)
.setFadeOnClear(false)
.setCompletionCallback(new Runnable() {
@Override
public void run() {
Log.i(TAG, "completo");
}
})
.attach(schScratch, flxScratch);