Lines Matching refs:position
100 * For a given merged position, find the corresponding Adapter and local position within that
101 * Adapter by iterating through Adapters and summing their counts until the merged position is
104 * @param position a merged (global) position
105 * @return the matching Adapter and local position, or null if not found
107 public LocalAdapterPosition<T> getAdapterOffsetForItem(final int position) {
115 if (position < newCount) {
116 return new LocalAdapterPosition<T>(a, position - count);
125 public Object getItem(int position) {
126 LocalAdapterPosition<T> result = getAdapterOffsetForItem(position);
134 public long getItemId(int position) {
135 return position;
148 public int getItemViewType(int position) {
149 LocalAdapterPosition<T> result = getAdapterOffsetForItem(position);
167 public View getView(int position, View convertView, ViewGroup parent) {
168 LocalAdapterPosition<T> result = getAdapterOffsetForItem(position);
173 public View getDropDownView(int position, View convertView, ViewGroup parent) {
174 LocalAdapterPosition<T> result = getAdapterOffsetForItem(position);
188 public boolean isEnabled(int position) {
189 LocalAdapterPosition<T> result = getAdapterOffsetForItem(position);