title: No suitable constructor found for intent(<anonymous AnimationListener)
body: <pre><code>@Override
              public void onAnimationEnd(Animation animation) {
                  iv.startAnimation(an2);
                  finish();
                  Intent i = new Intent(this,MainActivity.class);
                  startActivity(i);
              }
  </code></pre>
  
  <p>I'm having problems with my code on how to put a splash screen.</p>