i'm trying to show percentage of scrolling automatically to end of recylerview item by this code:
visibleItemCount = bookContentLayoutManager.getChildCount();
totalItemCount = bookContentLayoutManager.getItemCount();
firstVisibleItem = bookContentLayoutManager.findFirstVisibleItemPosition();
float percentage = (visibleItemCount * 100 / totalItemCount);
Log.e("percent ", percentage + "");
but it doesn't correct and i'm trying to find whats is solution of that, it means show percentage of current scrolled recyclerview items