Code example for ViewFlipper

0
 
	public ViewSwiper(Context ctxt, AttributeSet attrs, int defStyle) {
		super(ctxt, attrs, defStyle);
 
		parcel = new ParcelHelper("cwac-swiper", getContext());
		flipper = new ViewFlipper(getContext());
 
		addOnGesturePerformedListener(this);
		addView(flipper);
 
		gestureLibrary = GestureLibraries.fromRawResource(getContext(), parcel
				.getIdentifier("gestures", "raw")); 
		gestureLibrary.load();
	} 
 
	@Override 
	public void onFinishInflate() { 
		int count = getChildCount();
		ArrayList<View> toMove = new ArrayList<View>();
 
Connect your IDE to all the code out there  Get Codota for Java