app/src/main/java/fr/neamar/kiss/ui/BottomPullEffectView.java
/**
     * Draw a release animation for the previous pull effect
     */
Draw a release animation for the previous pull effect
Draw a release animation for the previous pull effect
public void releasePull() {
        if (this.effect == null) {
            return;
        }
        if (!this.lastPullAnimated) {
            this.setPull(this.lastPullDistance, this.lastPullDisplacement, true);
        }
        this.effect.onRelease();
        this.invalidate();
    }
public void releasePull ( ) { if ( this . effect == null ) { return ; } if ( ! this . lastPullAnimated ) { this . setPull ( this . lastPullDistance , this . lastPullDisplacement , true ) ; } this . effect . onRelease ( ) ; this . invalidate ( ) ; }
Draw a release animation for the previous pull effect
Draw a release animation for the previous pull effect
// Recreate effect without `finish()`-ing it, so that the release effect will be // properly drawn