Code example for ViewAnimator

Methods: removeAllViews

0
	private LinearLayout.LayoutParams contentViewLayoutParams;
	private Stack<String> mIds;
	 
	public void clearStack(ViewAnimator mAnimator){
		mIds.clear();
		mAnimator.removeAllViews();
	} 
	 
	@Override 
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub 
		super.onCreate(savedInstanceState);
		contentViewLayout = new LinearLayout(this);
		activityManager = getLocalActivityManager();
		mIds = new Stack<String>();
		contentViewLayoutParams = new LinearLayout.LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT); 
	} 
 
	 
	public View getContentView(int index, Intent intent){
Connect your IDE to all the code out there  Get Codota for Java