How to disable overscroll effect on RecyclerView ONLY when you can't scroll anyway ? : <h2>Background</h2>

<p>Sometimes, all items of the recyclerView are already visible to the user.</p>

<p>In this case, it wouldn't matter to the user to see overscroll effect, because it's impossible to actually scroll and see more items.</p>

<h2>The problem</h2>

<p>I know that in order to disable overscroll effect on RecyclerView, I can just use:</p>

<pre><code>recyclerView.setOverScrollMode(View.OVER_SCROLL_NEVER);
</code></pre>

<p>but I can't find out when to trigger this, when the scrolling isn't possible anyway.</p>

<h2>The question</h2>

<p>How can I Identify that all items are fully visible and that the user can't really scroll ? </p>

<p>If it helps to assume anything, I always use LinearLayoutManager (vertical and horizontal) for the RecyclerView.</p>
