Android : Is ImageView in android an abstract class

on Wednesday, September 10, 2014


Is ImageView an abstract class as we write



import android.widget.ImageView;
public class LoadActivity extends Activity {
boolean doubleBackToExitPressedOnce = false;
ImageView im;
im = (ImageView) findViewById(R.id.load_icon);
rotate = AnimationUtils.loadAnimation(getApplicationContext(),
R.anim.load_page);
rotate.setInterpolator(new LinearInterpolator());
im.startAnimation(rotate);
}


So we do not use 'new' keyboard to instantiate it.I m not able to understand please help


0 comments:

Post a Comment