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
What about
// 1 = down; -1 = up recyclerView.canScrollVertically(-1)
If you want to check if there is any scrollable space, no matter which direction
cardList.canScrollVertically(1) || cardList.canScrollVertically(-1)