if you really in need to access the item on the off screen you can try this code of mine:
for(int i = 0; i<Objects.requireNonNull(recyclerView.getAdapter()).getItemCount(); i++) {
if (recyclerView.findViewHolderForLayoutPosition(i) != null) {
View childView = Objects.requireNonNull(recyclerView.findViewHolderForLayoutPosition(i)).itemView;
ImageView childCheckThumb = childView.findViewById(R.id.thumb_check);
TextView namePlateView = childView.findViewById(R.id.name_plate_text_view);
childCheckThumb.setVisibility(thumb);
}
}
in my case I'm accessing to make all the off screen list become checked, hope this can solve your problem