Android view animation lifecycle
<p>I want to ask, if animation would be canceled when view is destroyed for example on configuration change.</p>

<p>I have animation with delay and a callback. So I am worried if after view destroy callback would be executed or not. </p>

<pre><code> view.animate()
     .setStartDelay(2000)
     .withEndAction(new Runnable() {
            @Override
            public void run() {
                //do something
            }
        });
</code></pre>