Code example for ViewFlipper

Methods: removeAllViews

0
		 * finish(); 
		 */ 
	} 
 
	public void onExit() { 
		page.removeAllViews();
		Intent i = new Intent(WelcomeScreen.this, MainActivity.class);
		i.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
		startActivity(i);
		finish();
	} 
 
	private void updateArrows(int displayedChild) {
		if (displayedChild == 0) {
			mSwipeLeft.setVisibility(View.VISIBLE);
			mSwipeRight.setVisibility(View.INVISIBLE);
		} else if (displayedChild == 6) {
			mSwipeLeft.setVisibility(View.INVISIBLE);
			mSwipeRight.setVisibility(View.VISIBLE);
		} else { 
Contextual code suggestions in your IDE  Get Codota for Java