Android Open Source - CustomViewPager Custom Pager Adapter






From Project

Back to project page CustomViewPager.

License

The source code is released under:

Apache License

If you think the Android project CustomViewPager listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.kgnkbyl.custompager;
/* w  ww. j  a  v  a 2s. com*/
import android.content.Context;
import android.view.View;

public abstract class CustomPagerAdapter {
  private Context context;
  
  public CustomPagerAdapter(Context context){
    this.context = context;
  }
  
  public Context getContext() {
    return context;
  }

  public void setContext(Context context) {
    this.context = context;
  }

  public abstract View getView(int position, View convertView);
  public abstract int dataCount();
}




Java Source Code List

com.kgnkbyl.custompager.CustomPagerAdapter.java
com.kgnkbyl.custompager.CustomPagerBase.java
com.kgnkbyl.custompager.HelperClass.java
com.kgnkbyl.custompager.MainActivity.java