Code example for PagerAdapter

Methods: getItemPosition

0
    return this.a.size();
  } 
 
  public int getItemPosition(Object paramObject)
  { 
    return super.getItemPosition(paramObject);
  } 
 
  public Object instantiateItem(View paramView, int paramInt)
  { 
    ((ViewPager)paramView).addView((View)this.a.get(paramInt), 0);
    return this.a.get(paramInt);
  } 
 
  public boolean isViewFromObject(View paramView, Object paramObject)
  { 
    return paramView == paramObject;
  } 
} 
 
Stop searching for code, let great code find you!  Add Codota to your java IDE