Example #1
0
 public View findViewFromObject(int position) {
   Object o = mObjs.get(Integer.valueOf(position));
   if (o == null) {
     return null;
   }
   PagerAdapter a = getAdapter();
   View v;
   for (int i = 0; i < getChildCount(); i++) {
     v = getChildAt(i);
     if (a.isViewFromObject(v, o)) return v;
   }
   return null;
 }
 @Override
 public boolean isViewFromObject(View view, Object o) {
   return wrappedAdapter.isViewFromObject(view, o);
 }
 @Override
 public boolean isViewFromObject(View view, Object object) {
   return mAdapter.isViewFromObject(view, object);
 }