package com.example.witch;

import com.squareup.leakcanary.LeakCanary;

import android.animation.Animator;
import android.animation.AnimatorListenerAdapter;
import android.animation.ObjectAnimator;
import android.app.Application;
import android.view.View;

import se.snylt.witch.viewbinder.bindaction.OnBindListener;

public class App extends Application{

    @Override
    public void onCreate() {
        super.onCreate();
        if (LeakCanary.isInAnalyzerProcess(this)) {
            // This process is dedicated to LeakCanary for heap analysis.
            // You should not init your app in this process.
            return;
        }
        LeakCanary.install(this);

        ObjectAnimator animator = ObjectAnimator.ofFloat(new View(this), View.ALPHA, 0f, 1f);
        animator.setDuration(300);
        animator.addListener(new AnimatorListenerAdapter() {
            @Override
            public void onAnimationEnd(Animator animation) {
                //
                OnBindListener l = null;
                l.onBindDone();
            }
        });
        animator.start();

    }
}

@@ -85,235 +85,22 @@
 id.a
-nimation.Animator;%0Aimport android.animation.AnimatorListenerAdapter;%0Aimport android.animation.ObjectAnimator;%0Aimport android.app.Application;%0Aimport android.view.View;%0A%0Aimport se.snylt.witch.viewbinder.bindaction.OnBindListener
+pp.Application
 ;%0A%0Ap
@@ -415,32 +415,32 @@
 turn;%0A        %7D%0A
+
         LeakCana
@@ -461,427 +461,8 @@
 s);%0A
-%0A        ObjectAnimator animator = ObjectAnimator.ofFloat(new View(this), View.ALPHA, 0f, 1f);%0A        animator.setDuration(300);%0A        animator.addListener(new AnimatorListenerAdapter() %7B%0A            @Override%0A            public void onAnimationEnd(Animator animation) %7B%0A                //%0A                OnBindListener l = null;%0A                l.onBindDone();%0A            %7D%0A        %7D);%0A        animator.start();%0A%0A
     

Remove test code in App.