I have a recycler view with 13 data items. I want to find out whether the first item of my list is visible or not?
I am aware about the methods like findFirstVisibleItemPosition
and findLastVisibleItemPosition
but they did not tell whether the first visible item is actually the first item of the list or not.
The problem that I am trying to solve is this, I have a view pager as the first item of my recycler view and I want to stop auto scroll when user scrolls down and it becomes completely invisible.
Please help if anyone has any idea about how to do this.