Code example for ViewGroup

Methods: removeView

0
    } 
 
    @Override 
    public void destroyItem(ViewGroup container, int position,
                            Object object) {
      container.removeView((View)object);
    } 
 
    @Override 
    public int getCount() { 
      return(9); 
    } 
 
    @Override 
    public float getPageWidth(int position) {
      return(0.5f); 
    } 
 
    @Override 
    public boolean isViewFromObject(View view, Object object) {
      return(view == object);