Example usage for android.view ViewGroup removeView

List of usage examples for android.view ViewGroup removeView

Introduction

In this page you can find the example usage for android.view ViewGroup removeView.

Prototype

@Override
public void removeView(View view) 

Source Link

Document

Note: do not invoke this method from #draw(android.graphics.Canvas) , #onDraw(android.graphics.Canvas) , #dispatchDraw(android.graphics.Canvas) or any related method.

Usage

From source file:com.firesoft.member.Adapter.Bee_PageAdapter.java

@Override
public void destroyItem(ViewGroup container, int position, Object object) {
    container.removeView(mListViews.get(position));//?
}

From source file:org.deviceconnect.android.ui.adapter.DConnectPagerAdapter.java

@Override
public void destroyItem(final ViewGroup container, final int position, final Object object) {
    container.removeView((View) object);
}

From source file:galilei.kelimekavanozu.view.ImageAdapter.java

@Override
public void destroyItem(ViewGroup container, int position, Object object) {
    container.removeView((ImageView) object);
    object = null;//from  w w  w .  j  a v a 2s  .c om
}

From source file:org.zywx.wbpalmstar.engine.multipop.MultiPopAdapter.java

@Override
public void destroyItem(ViewGroup container, int position, Object object) {
    container.removeView(mViewList.get(position));

}

From source file:com.berniesanders.fieldthebern.adapters.AppIntroPagerAdapter.java

@Override
public void destroyItem(ViewGroup viewGroup, int position, Object view) {
    viewGroup.removeView((View) view);
}

From source file:at.jclehner.rxdroid.InfiniteViewPagerAdapter.java

@Override
public void destroyItem(ViewGroup container, int position, Object item) {
    container.removeView((View) item);
}

From source file:com.lamcreations.scaffold.common.adapters.ImagePagerAdapter.java

@Override
public void destroyItem(ViewGroup container, int position, Object object) {
    container.removeView((ImageView) object);
}

From source file:com.pax.view.ViewPagerAdapter.java

@Override
public void destroyItem(ViewGroup container, int position, Object object) {
    try {// w ww .j a v a 2s. c  o  m
        container.removeView(lists.get(position));
    } catch (Exception e) {
        e.printStackTrace();
    }
}

From source file:org.apps8os.motivator.ui.ImagesPagerAdapter.java

@Override
public void destroyItem(ViewGroup viewGroup, int position, Object object) {
    viewGroup.removeView((View) object);
}

From source file:org.centum.android.learn.LearnPagerAdapter.java

public void destroyItem(ViewGroup container, int position, Object object) {
    container.removeView((View) object);
}