@Override public void destroyItem(ViewGroup container, int position, Object object) { MySubscriber p = (MySubscriber) object; container.removeView(p.getView()); }
@Override public Object instantiateItem(ViewGroup container, int position) { MySubscriber p = mSubscribers.get(position); container.addView(p.getView()); return p; }