Code example for Vector

Methods: add, lastElement

0
		// TODO Auto-generated constructor stub 
		init(context);
	} 
 
	private void init(Context context) {
		mList = new Vector<MainView.MYVIEW>();
		mList.add(MYVIEW.MENUVIEW);
		 
		mView = mList.lastElement();
		mStartLeft = new int[]{0, Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH(), Configuration.getSCREEN_WIDTH()};
		mStep = 0;
		 
		mMainMenuView = new MainMenuView(context);
		this.addView(mMainMenuView.getView());
		 
		mSoundView = new SoundView(context);
		this.addView(mSoundView.getView());
		 
		mFindView = new FindView(context);
		this.addView(mFindView.getView());