Searched refs:getAdapterPosition (Results 1 – 6 of 6) sorted by relevance
379 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder()735 if (holder.getAdapterPosition() == 0 || in onDraw()736 holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) { in onDraw()820 int position = mCurrentDrag.getAdapterPosition();843 final int position = target.getAdapterPosition();847 if (!canRemoveTiles() && current.getAdapterPosition() < mEditIndex) {870 int from = viewHolder.getAdapterPosition();871 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()
280 v -> mCallback.accept(mItems.get(holder.getAdapterPosition()))); in onBindViewHolder()286 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()
3410 : focusedVh.getAdapterPosition()); in saveFocusInfo()4360 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()10270 public final int getAdapterPosition() { in getAdapterPosition() method in RecyclerView.ViewHolder10678 return mViewHolder.getAdapterPosition(); in getViewAdapterPosition()12000 final int pos = viewHolder.getAdapterPosition(); in buildAdapterChangeFlagsForAnimations()