@Test public void testUpdateAdapterPosition() { final View itemView = new View(context); final ViewHolder holder = new ViewHolder(itemView); holder.updateAdapterPosition(13); assertThat(holder.getAdapterPosition(), is(13)); }
public final void updateAdapterPosition(final int position) { this.adapterPosition = position; }
ViewHolder implements AdapterHolder { public final void updateAdapterPosition(final int position) { this.adapterPosition = position; } }
ViewHolder implements AdapterHolder { public final void updateAdapterPosition(final int position) { this.adapterPosition = position; } ViewHolder(@NonNull final View itemView);  ViewHolder(@NonNull final View itemView, final int itemViewType); }
ViewHolder implements AdapterHolder { public final void updateAdapterPosition(final int position) { this.adapterPosition = position; } ViewHolder(@NonNull final View itemView);  ViewHolder(@NonNull final View itemView, final int itemViewType); @Override final int getItemViewType(); final void updateAdapterPosition(final int position); @Override final int getAdapterPosition(); }
ViewHolder implements AdapterHolder { public final void updateAdapterPosition(final int position) { this.adapterPosition = position; } ViewHolder(@NonNull final View itemView);  ViewHolder(@NonNull final View itemView, final int itemViewType); @Override final int getItemViewType(); final void updateAdapterPosition(final int position); @Override final int getAdapterPosition(); final View itemView; }