KJFrameForAndroid 资料——KJViewPager用法样例



        

        

        

        

        

            


KJFrameForAndroid 资料——KJViewPager用法样例_第1张图片

 scrollLayout = (KJViewPager) findViewById(R.id.scrollLayout);
        count = scrollLayout.getChildCount();
        imgs = new ImageView[count];
        for (int i = 0; i < count; i++) {
            imgs[i] = (ImageView) pointLayout.getChildAt(i);
            imgs[i].setEnabled(true);
            imgs[i].setTag(i);
        }
        currentItem = 0;
        imgs[currentItem].setEnabled(false);
        scrollLayout.setOnViewChangeListener(this);

public class FirstInstallActivity extends KJActivity implements
        OnViewChangeListener {}


你可能感兴趣的:(框架资料)