I have a RecyclerView
with a LinearLayoutManager
that is backed by an adapter with items of different height. Is there a way to tell the RecyclerView
to set the scroll position so that item X appears (more or less) exactly at the bottom of the screen?
I tried LinearLayoutManager.scrollToPosition()
but this will position the item at the top of the view.