Lines Matching defs:position
78 * Return the Fragment associated with a specified position.
80 public abstract Fragment getItem(int position);
87 public Object instantiateItem(ViewGroup container, int position) {
92 final long itemId = getItemId(position);
101 fragment = getItem(position);
115 public void destroyItem(ViewGroup container, int position, Object object) {
119 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
125 public void setPrimaryItem(ViewGroup container, int position, Object object) {
164 * Return a unique identifier for the item at the given position.
166 * <p>The default implementation returns the given position.
169 * @param position Position within this adapter
170 * @return Unique identifier for the item at position
172 public long getItemId(int position) {
173 return position;