@@ -0,0 +1,862 @@
+package com.laxture.skeleton.view;%0A%0Aimport android.support.v4.view.PagerAdapter;%0Aimport android.view.View;%0Aimport android.view.ViewGroup;%0A%0Aimport java.util.List;%0A%0Apublic class ViewPagerAdapter extends PagerAdapter %7B%0A%0A    private List%3CView%3E mContents;%0A%0A    public ViewPagerAdapter(List%3CView%3E views) %7B%0A        mContents = views;%0A    %7D%0A%0A    @Override%0A    public Object instantiateItem(ViewGroup container, int pos) %7B%0A        container.addView(mContents.get(pos), 0);%0A        return mContents.get(pos);%0A    %7D%0A%0A    @Override%0A    public void destroyItem(ViewGroup container, int pos, Object obj) %7B%0A        container.removeView(mContents.get(pos));%0A    %7D%0A%0A    @Override%0A    public int getCount() %7B%0A        return null != mContents ? mContents.size() : 0;%0A    %7D%0A%0A    @Override%0A    public boolean isViewFromObject(View view, Object o) %7B%0A        return view == o;%0A    %7D%0A%7D%0A

Add ViewPagerAdaper