Searched refs:getAdapterPosition (Results 1 – 4 of 4) sorted by relevance
256 } else if (!canRemoveTiles() && mCurrentDrag.getAdapterPosition() < mEditIndex) { in onBindViewHolder()277 selectPosition(holder.getAdapterPosition(), v); in onBindViewHolder()326 int position = holder.getAdapterPosition(); in onBindViewHolder()540 if (holder.getAdapterPosition() == 0 || in onDraw()541 holder.getAdapterPosition() < mEditIndex && !(child instanceof TextView)) { in onDraw()577 int position = mCurrentDrag.getAdapterPosition();600 final int position = target.getAdapterPosition();604 if (!canRemoveTiles() && current.getAdapterPosition() < mEditIndex) {627 int from = viewHolder.getAdapterPosition();628 int to = target.getAdapterPosition();
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()
3289 : focusedVh.getAdapterPosition()); in saveFocusInfo()4239 return holder != null ? holder.getAdapterPosition() : NO_POSITION; in getChildAdapterPosition()10149 public final int getAdapterPosition() { in getAdapterPosition() method in RecyclerView.ViewHolder10557 return mViewHolder.getAdapterPosition(); in getViewAdapterPosition()11879 final int pos = viewHolder.getAdapterPosition(); in buildAdapterChangeFlagsForAnimations()