Searched refs:getAdapterPosition (Results 1 – 6 of 6) sorted by relevance
270 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder()293 selectPosition(holder.getAdapterPosition(), v); in onBindViewHolder()330 int position = holder.getAdapterPosition(); in onBindViewHolder()558 if (holder.getAdapterPosition() == 0 || in onDraw()559 holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) { in onDraw()595 int position = mCurrentDrag.getAdapterPosition();618 final int position = target.getAdapterPosition();622 if (!canRemoveTiles() && current.getAdapterPosition() < mEditIndex) {645 int from = viewHolder.getAdapterPosition();646 int to = target.getAdapterPosition();
226 onCatClick(mCats[holder.getAdapterPosition()]); in onBindViewHolder()246 onCatRemove(mCats[holder.getAdapterPosition()]); in onBindViewHolder()256 Cat cat = mCats[holder.getAdapterPosition()]; in onBindViewHolder()
92 onFoodSelected(mFoods.get(holder.getAdapterPosition())); in onBindViewHolder()
275 v -> mCallback.accept(mItems.get(holder.getAdapterPosition()))); in onBindViewHolder()281 v -> mItems.get(holder.getAdapterPosition()).toggleExpando(Adapter.this)); in onBindViewHolder()
673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { in postDispatchSwipe()844 final int toPosition = target.getAdapterPosition(); in moveIfNecessary()845 final int fromPosition = viewHolder.getAdapterPosition(); in moveIfNecessary()
3303 : focusedVh.getAdapterPosition()); in saveFocusInfo()4253 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()10163 public final int getAdapterPosition() { in getAdapterPosition() method in RecyclerView.ViewHolder10571 return mViewHolder.getAdapterPosition(); in getViewAdapterPosition()11893 final int pos = viewHolder.getAdapterPosition(); in buildAdapterChangeFlagsForAnimations()