Code example for Stack

Methods: sizepush

	public void push(ScreenWidget screen)
		// Do not animate the first push since this is already animated 
		// by the show of the stack screen (if shown with transition). 
		if ( 0 != m_screenStack.size() )
					m_pushTransitionType, m_pushTransitionDuration, true);
		m_screenStack.push( screen );
		getView( ).removeAllViews( ); 
		//getView( ).addView( screen.getView( ) ); 
		screen.getRootView( ).clearFocus();
		getView( ).addView( screen.getRootView( ) );
		// Add the screen to the children list. 
Stop searching for code, let great code find you!  Add Codota to your java IDE