I\'m building a shopping cart RecyclerView that displays all the items in the cart in a RecyclerView, as well as it has an additional view at the bottom that summarizes the cart
This is not an intended use case but you create an ItemDecorator and when getItemOffsets is called on the bottom view, calculate the space above it and set it as decorOffsetTop.
Each time you add an item, you should invalidate item decor offsets so that RecyclerView will call your callback again for a new calculation.
It won't be trivial but this should work.