Can't find RecyclerView visible item position inside NestedScrollView : <p>How do I get the first/ last completely visible item in a recyclerview if it is inside a NestedScrollView and the recycler has <code>nestedScrollingEnabled="false"</code> for smooth scrolling with other views above the RecyclerView.</p>

<p>All these functions</p>

<p><code>int findFirstVisibleItemPosition();
int findFirstCompletelyVisibleItemPosition();
int findLastVisibleItemPosition();
int findLastCompletelyVisibleItemPosition();</code></p>

<p>either return the first/last item created in the recyclerView.</p>

<p>I want to find the current visible item because I want to make the RecyclerView scroll infinitely and I should fetch data if only a few items are left to scroll.</p>

<p>Thanks</p>
