How to check if a RecyclerView is scrollable, ie, there are items below/above the visible area
RecyclerView
I have a dropdown in my recycler view which works by using
The idea is to check if the last completely visible element is the last element in the list.
private boolean isScrollable() { return mLinearLayoutManager.findLastCompletelyVisibleItemPosition() + 1 == mRecyclerViewAdapter.getItemCount(); }