Lines Matching refs:position
74 * Return the Fragment associated with a specified position.
76 public abstract Fragment getItem(int position);
83 public Object instantiateItem(ViewGroup container, int position) {
88 final long itemId = getItemId(position);
97 fragment = getItem(position);
111 public void destroyItem(ViewGroup container, int position, Object object) {
115 if (DEBUG) Log.v(TAG, "Detaching item #" + getItemId(position) + ": f=" + object
121 public void setPrimaryItem(ViewGroup container, int position, Object object) {
160 * Return a unique identifier for the item at the given position.
162 * <p>The default implementation returns the given position.
165 * @param position Position within this adapter
166 * @return Unique identifier for the item at position
168 public long getItemId(int position) {
169 return position;