Code example for ViewAnimator

Methods: getChildAtgetChildCountremoveViewAtsetDisplayedChildsetInAnimationsetOutAnimation

0
			// viewSwiter.setClickable(false); 
		} 
	} 
 
	public boolean back() { 
		LogInfo.LogOut("haitian", "viewSwiter.getChildCount() = " + viewSwiter.getChildCount());
		if (viewSwiter.getChildCount() > 1) {
			final BaseDC toShow = (BaseDC) viewSwiter.getChildAt(viewSwiter.getChildCount() - 2);
			viewSwiter.setInAnimation(animSlideInRight);
			viewSwiter.setOutAnimation(animSlideOutRight);
			viewSwiter.setDisplayedChild(viewSwiter.getChildCount() - 2);
			viewSwiter.removeViewAt(viewSwiter.getChildCount() - 1);
			toShow.onShow();
			return true; 
		} else { 
			return false; 
		} 
	} 
 
	public void showDC(BaseDC dc, int type, BaseManager from, BaseManager to) {
Connect your IDE to all the code out there  Get Codota for Java