Lines Matching refs:position
62 * Return the Fragment associated with a specified position.
64 public abstract Fragment getItem(int position);
71 public Object instantiateItem(View container, int position) {
77 String name = makeFragmentName(container.getId(), position);
84 if (DEBUG) Log.v(TAG, "Attaching item #" + position + ": f=" + fragment);
87 fragment = getItem(position);
92 if (DEBUG) Log.v(TAG, "Adding item #" + position + ": f=" + fragment);
94 makeFragmentName(container.getId(), position));
104 public void destroyItem(View container, int position, Object object) {
108 if (DEBUG) Log.v(TAG, "Detaching item #" + position + ": f=" + object
117 name = makeFragmentName(container.getId(), position);
125 public void setPrimaryItem(View container, int position, Object object) {